Skip to content

Commit

Permalink
run Miri on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung authored and seanmonstar committed Mar 29, 2022
1 parent 2ec151d commit 58ebf11
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- test
- simd
- msrv
- miri
steps:
- run: exit 0

Expand Down Expand Up @@ -127,3 +128,22 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build

miri:
name: Test with Miri
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: miri
override: true

- name: Test
run: MIRIFLAGS="-Zmiri-tag-raw-pointers -Zmiri-check-number-validity" cargo miri test

0 comments on commit 58ebf11

Please sign in to comment.