Skip to content

Commit fa0ad0d

Browse files
committed
install nightly before running burn-in with asan
1 parent a8108db commit fa0ad0d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
path: |
104104
benchmarks/stress2/target
105105
benchmarks/stress2/Cargo.lock
106+
~/.rustup
106107
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/Cargo.toml') }}
107108
- name: burn in
108109
run: |
@@ -111,6 +112,9 @@ jobs:
111112
ulimit -c unlimited
112113
echo "$PWD/core-dumps/corefile-%e-%p-%t" | sudo tee /proc/sys/kernel/core_pattern
113114
mkdir core-dumps
115+
rustup toolchain install nightly
116+
rustup toolchain install nightly --component rust-src
117+
rustup update
114118
rm -rf default.sled || true
115119
export RUSTFLAGS="-Z sanitizer=address"
116120
export ASAN_OPTIONS="detect_odr_violation=0"

0 commit comments

Comments
 (0)