Skip to content

Commit

Permalink
Actually test all features with circle-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kyren committed May 3, 2021
1 parent c7575ca commit c860acc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ jobs:
command: cargo build --all --all-targets
- run:
name: Run all tests
command: cargo test --all
command: cargo test --all --all-features
- run:
name: Run all tests under miri
command: |
cargo +nightly miri test
cargo +nightly miri test --all-features
- run:
name: Run all tests under sanitizers
command: |
RUSTFLAGS="-Z sanitizer=address" cargo +nightly -Z build-std test --target x86_64-unknown-linux-gnu
RUSTFLAGS="-Z sanitizer=leak" cargo +nightly test -Z build-std --target x86_64-unknown-linux-gnu
RUSTFLAGS="-Z sanitizer=memory" cargo +nightly test -Z build-std --target x86_64-unknown-linux-gnu
RUSTFLAGS="-Z sanitizer=address" cargo +nightly -Z build-std test --target x86_64-unknown-linux-gnu --all-features
RUSTFLAGS="-Z sanitizer=leak" cargo +nightly test -Z build-std --target x86_64-unknown-linux-gnu --all-features
RUSTFLAGS="-Z sanitizer=memory" cargo +nightly test -Z build-std --target x86_64-unknown-linux-gnu --all-features
- save_cache:
paths:
- /usr/local/cargo/registry
Expand Down

0 comments on commit c860acc

Please sign in to comment.