Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
srijs committed May 20, 2024
1 parent 546cd7d commit 993587e
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,42 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable --no-self-update
- name: test (debug)
- name: Test in debug mode
run: cargo test --no-fail-fast
- name: test (release)
- name: Test in release mode
run: cargo test --no-fail-fast --release
- name: check (no default features)
- name: Check with no default features
run: cargo check --no-default-features
nightly:
name: nightly
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update nightly --no-self-update
- name: Test in debug mode
run: cargo +nightly test --no-fail-fast
- name: Test in release mode
run: cargo +nightly test --no-fail-fast --release
- name: Check with no default features
run: cargo +nightly check --no-default-features
- name: Build benches
run: cargo +nightly build --benches --all
asan:
name: asan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update nightly --no-self-update
- name: Run address sanitizer
run: RUSTFLAGS="-Z sanitizer=address" cargo +nightly test --lib --target x86_64-unknown-linux-gnu
env:
ASAN_OPTIONS: "detect_odr_violation=0 detect_leaks=0"
RUST_BACKTRACE: "1"

0 comments on commit 993587e

Please sign in to comment.