Skip to content

Commit

Permalink
miri
Browse files Browse the repository at this point in the history
  • Loading branch information
drink7036290 committed Nov 25, 2024
1 parent f16c2e3 commit 92af136
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,33 @@ jobs:
- tests
- nextest_with_coverage
- asan
- miri
steps:
- run: exit 0

miri:
name: miri
needs: basics
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust ${{ env.rust_miri_nightly }}
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.rust_miri_nightly }}
components: miri
- name: Install cargo-nextest
uses: taiki-e/install-action@v2
with:
tool: cargo-nextest
- uses: Swatinem/rust-cache@v2
- name: miri
run: |
cargo miri nextest run --lib --tests --no-fail-fast
working-directory: tokio
env:
MIRIFLAGS: -Zmiri-disable-isolation -Zmiri-strict-provenance -Zmiri-retag-fields

asan:
name: asan
needs: basics
Expand Down

0 comments on commit 92af136

Please sign in to comment.