forked from fitzgen/bumpalo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
36 lines (35 loc) · 957 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
displayName: "Run `cargo test`"
- bash: |
set -ex
sudo apt install valgrind
displayName: "Install Valgrind"
- bash: |
set -ex
export RUST_BACKTRACE=1
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER=valgrind cargo test
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
displayName: "Run cargo check"