run Miri on CI (but allowed to fail)

This commit is contained in:
Ralf Jung 2022-03-09 09:00:46 -05:00
parent adbd47973e
commit 4023d77e39

View File

@ -58,6 +58,23 @@ jobs:
- name: Run Clippy
run: cargo clippy --all-targets --target ${{ matrix.target }}
miri:
name: "miri"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Miri
run: |
rustup toolchain install nightly --component miri
rustup override set nightly
cargo miri setup
- name: Test with Miri (failures allowed)
continue-on-error: true
run: |
cargo miri test --test i32_ops
cargo miri test --test f32_ops
cargo miri test --test cast
x86-tests:
name: "${{ matrix.target_feature }} on ${{ matrix.target }}"
runs-on: ${{ matrix.os }}