Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed May 24, 2024
1 parent fba5d1d commit 67ae638
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
path: ~/.cargo
key: ${{ runner.os }}-coverage-dotcargo
- name: Run test
run: cargo hack test --feature-powerset --exclude-no-default-features --exclude-all-features
run: cargo hack test --tests --feature-powerset --exclude-no-default-features --exclude-all-features

sanitizer:
name: sanitizer
Expand Down
2 changes: 1 addition & 1 deletion ci/miri.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ cargo miri setup

export MIRIFLAGS="-Zmiri-strict-provenance -Zmiri-disable-isolation -Zmiri-symbolic-alignment-check"

cargo hack miri test --each-feature --exclude-no-default-features --exclude-all-features
cargo hack miri test --tests --each-feature --exclude-no-default-features --exclude-all-features

6 changes: 3 additions & 3 deletions ci/sanitizer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ export ASAN_OPTIONS="detect_odr_violation=0 detect_leaks=0"

# Run address sanitizer with cargo-hack
RUSTFLAGS="-Z sanitizer=address" \
cargo hack test --lib --each-feature --exclude-no-default-features
cargo hack test --tests --each-feature --exclude-no-default-features --exclude-all-features

# Run leak sanitizer with cargo-hack
RUSTFLAGS="-Z sanitizer=leak" \
cargo hack test --lib --each-feature --exclude-no-default-features
cargo hack test --tests --each-feature --exclude-no-default-features --exclude-all-features

# Run thread sanitizer with cargo-hack
RUSTFLAGS="-Z sanitizer=thread" \
cargo hack -Zbuild-std test --lib --each-feature --exclude-no-default-features
cargo hack -Zbuild-std test --tests --each-feature --exclude-no-default-features --exclude-all-features

0 comments on commit 67ae638

Please sign in to comment.