diff options
Diffstat (limited to 'third_party/rust/bumpalo/azure-pipelines.yml')
-rw-r--r-- | third_party/rust/bumpalo/azure-pipelines.yml | 40 |
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" |