Skip to content

Commit

Permalink
Install MIRI using rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Sep 12, 2023
1 parent 60bd957 commit cbc8ac0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ascon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,12 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
component: miri
- run: cargo miri setup
- run: |
- name: Install Miri
run: |
rustup component add miri
cargo miri setup
- name: Test with Miri
run: |
cargo miri test --target ${{ matrix.target }} --no-default-features
cargo miri test --target ${{ matrix.target }}
cargo miri test --target ${{ matrix.target }} --all-features
9 changes: 6 additions & 3 deletions .github/workflows/keccak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,12 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
component: miri
- run: cargo miri setup
- run: |
- name: Install Miri
run: |
rustup component add miri
cargo miri setup
- name: Test with Miri
run: |
cargo miri test --target ${{ matrix.target }} --no-default-features
cargo miri test --target ${{ matrix.target }}
cargo miri test --target ${{ matrix.target }} --features no_unroll
Expand Down

0 comments on commit cbc8ac0

Please sign in to comment.