cicd: exclude hang tests for exotic arches and ASAN

This commit is contained in:
Andrew Hlynskyi 2023-08-28 04:46:07 +03:00
parent b205a1f5a2
commit a9c4965dd6
2 changed files with 14 additions and 2 deletions

View file

@ -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