Skip to content

Commit 58ebf11

Browse files
RalfJungseanmonstar
authored andcommitted
run Miri on CI
1 parent 2ec151d commit 58ebf11

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- test
1717
- simd
1818
- msrv
19+
- miri
1920
steps:
2021
- run: exit 0
2122

@@ -127,3 +128,22 @@ jobs:
127128
uses: actions-rs/cargo@v1
128129
with:
129130
command: build
131+
132+
miri:
133+
name: Test with Miri
134+
runs-on: ubuntu-latest
135+
136+
steps:
137+
- name: Checkout
138+
uses: actions/checkout@v1
139+
140+
- name: Install Rust
141+
uses: actions-rs/toolchain@v1
142+
with:
143+
profile: minimal
144+
toolchain: nightly
145+
components: miri
146+
override: true
147+
148+
- name: Test
149+
run: MIRIFLAGS="-Zmiri-tag-raw-pointers -Zmiri-check-number-validity" cargo miri test

0 commit comments

Comments
 (0)