Skip to content

Commit 4023d77

Browse files
committed
run Miri on CI (but allowed to fail)
1 parent adbd479 commit 4023d77

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,23 @@ jobs:
5858
- name: Run Clippy
5959
run: cargo clippy --all-targets --target ${{ matrix.target }}
6060

61+
miri:
62+
name: "miri"
63+
runs-on: ubuntu-latest
64+
steps:
65+
- uses: actions/checkout@v2
66+
- name: Install Miri
67+
run: |
68+
rustup toolchain install nightly --component miri
69+
rustup override set nightly
70+
cargo miri setup
71+
- name: Test with Miri (failures allowed)
72+
continue-on-error: true
73+
run: |
74+
cargo miri test --test i32_ops
75+
cargo miri test --test f32_ops
76+
cargo miri test --test cast
77+
6178
x86-tests:
6279
name: "${{ matrix.target_feature }} on ${{ matrix.target }}"
6380
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)