summaryrefslogtreecommitdiffstats
path: root/third_party/rust/bumpalo/azure-pipelines.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /third_party/rust/bumpalo/azure-pipelines.yml
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/rust/bumpalo/azure-pipelines.yml')
-rw-r--r--third_party/rust/bumpalo/azure-pipelines.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/third_party/rust/bumpalo/azure-pipelines.yml b/third_party/rust/bumpalo/azure-pipelines.yml
new file mode 100644
index 0000000000..8fe8a85534
--- /dev/null
+++ b/third_party/rust/bumpalo/azure-pipelines.yml
@@ -0,0 +1,40 @@
+pr: ["master"]
+
+jobs:
+ - job: tests
+ displayName: "Tests"
+ pool:
+ vmImage: 'ubuntu-16.04'
+ steps:
+ - template: ci/install-rust.yml
+ parameters:
+ rust_version: stable
+ - template: ci/install-cargo-readme.yml
+ - bash: |
+ set -ex
+ export RUST_BACKTRACE=1
+ cargo test
+ cargo test --all-features
+ displayName: "Run `cargo test`"
+ - bash: |
+ set -ex
+ sudo apt install valgrind
+ displayName: "Install Valgrind"
+ - bash: |
+ set -ex
+ export RUST_BACKTRACE=1
+ # Don't leak-check, as Rust globals tend to cause false positives.
+ export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="valgrind --suppressions=valgrind.supp --leak-check=no --error-exitcode=1"
+ cargo test
+ cargo test --all-features
+ displayName: "Run `cargo test` under Valgrind"
+ - job: check_benches
+ displayName: "Check that benches build"
+ steps:
+ - template: ci/install-rust.yml
+ parameters:
+ rust_version: stable
+ - bash: |
+ set -ex
+ cargo check --benches --all-features
+ displayName: "Run cargo check"