File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -155,4 +155,27 @@ jobs:
155155 run : |
156156 set -eo pipefail
157157 scripts/sanitizers.sh
158-
158+ msan_tree_tests :
159+ name : MSAN doc tests
160+ env :
161+ RUST_BACKTRACE : 1
162+ runs-on : ubuntu-latest
163+ steps :
164+ - uses : actions/checkout@v1
165+ - name : Cache rustup
166+ uses : actions/cache@v2
167+ env :
168+ cache-name : cache-msan-tree-target-and-lockfile
169+ with :
170+ path : |
171+ ~/.rustup
172+ target
173+ Cargo.lock
174+ key : ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/Cargo.toml') }}
175+ - name : sanitizers
176+ run : |
177+ rustup toolchain install nightly
178+ rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
179+ export RUSTFLAGS="-Zsanitizer=memory -Zsanitizer-memory-track-origins"
180+ export MSAN_OPTIONS=verbosity=2
181+ cargo +nightly test --doc -Zbuild-std --target x86_64-unknown-linux-gnu --features=light_testing -- --nocapture --test-threads=1
You can’t perform that action at this time.
0 commit comments