Skip to content

Commit

Permalink
Miri on CI; remove MSRV CI check
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha-tango-kilo committed Dec 2, 2023
1 parent fadf2b8 commit fbedf44
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,43 @@ jobs:
--exclude-all-features \
test
cargo doc --no-deps --document-private-items
msrv:
name: Check MSRV (${{ matrix.os }})
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
miri-windows:
name: Run Miri tests (Windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- uses: dtolnay/rust-toolchain@nightly
with:
components: miri
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Ensure compilation & passing tests on all backends
shell: bash
run: |
cargo hack \
--each-feature \
--skip default,backend-async-std,backend-smol \
--exclude-no-default-features \
--exclude-all-features \
check
miri \
test
miri-linux:
name: Run Miri tests (Linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: miri
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Ensure compilation & passing tests on all backends
shell: bash
run: |
cargo hack \
--each-feature \
--skip default \
--exclude-no-default-features \
--exclude-all-features \
miri \
test

0 comments on commit fbedf44

Please sign in to comment.