cicd: exclude hang tests for exotic arches and ASAN
This commit is contained in:
parent
b205a1f5a2
commit
a9c4965dd6
2 changed files with 14 additions and 2 deletions
4
.github/workflows/sanitize.yml
vendored
4
.github/workflows/sanitize.yml
vendored
|
|
@ -36,14 +36,14 @@ jobs:
|
|||
env:
|
||||
UBSAN_OPTIONS: halt_on_error=1
|
||||
CFLAGS: -fsanitize=undefined
|
||||
RUSTFLAGS: -lubsan
|
||||
RUSTFLAGS: ${{ env.RUSTFLAGS }} -lubsan
|
||||
run: cargo test -- --test-threads 1
|
||||
|
||||
- name: Run main tests with address sanitizer (ASAN)
|
||||
env:
|
||||
ASAN_OPTIONS: halt_on_error=1
|
||||
CFLAGS: -fsanitize=address
|
||||
RUSTFLAGS: -Zsanitizer=address
|
||||
RUSTFLAGS: ${{ env.RUSTFLAGS }} -Zsanitizer=address --cfg=sanitizing
|
||||
run: |
|
||||
rustup install nightly
|
||||
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue