Skip to content

Commit

Permalink
ci: Pin Rust nightly version
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Apr 12, 2021
1 parent ef4b43f commit 29dcf23
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,14 @@ jobs:
command: |
apt -qq update
apt -yq install llvm-11-dev clang-11 --no-install-recommends
rustup toolchain install nightly-x86_64-unknown-linux-gnu
rustup toolchain install nightly-2021-04-11 # 2021-04-12 is known to be broken, https://github.com/rust-lang/rust/pull/84130.
- run:
name: Build
command: RUSTFLAGS="-Z sanitizer=address" ASAN_OPTIONS=detect_leaks=1 cargo +nightly build --target x86_64-unknown-linux-gnu
command: RUSTFLAGS="-Z sanitizer=address" ASAN_OPTIONS=detect_leaks=1 cargo +nightly-2021-04-11 build --target x86_64-unknown-linux-gnu

- run:
name: Test
command: RUSTFLAGS="-Z sanitizer=address -C opt-level=0" ASAN_OPTIONS=detect_leaks=1 cargo +nightly test --target x86_64-unknown-linux-gnu
command: RUSTFLAGS="-Z sanitizer=address -C opt-level=0" ASAN_OPTIONS=detect_leaks=1 cargo +nightly-2021-04-11 test --target x86_64-unknown-linux-gnu
- attach_workspace:
at: ~/build
- run:
Expand Down

0 comments on commit 29dcf23

Please sign in to comment.