Skip to content

Commit

Permalink
chore(ci): run Miri on our pinned nightly
Browse files Browse the repository at this point in the history
Currently, the CI Miri test job installs the latest nightly and runs
Miri tests on that nightly. Since mnemOS already only builds on nightly,
though, we should be using the pinned toolchain revision instead. This
commit changes our Miri job to run on the nightly in
`rust-toolchain.toml`.

Fixes #313
  • Loading branch information
hawkw committed Apr 10, 2024
1 parent c21f4e4 commit 564c55c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,20 +113,20 @@ jobs:
# (test-host forth3) - run miri tests
test-host-miri:
runs-on: ubuntu-latest
name: cargo miri test (host)
name: cargo miri test --package forth3 (host)
needs: check
# TODO(eliza): only run this if forth3 changed?
# needs: changed_paths
# if: needs.changed_paths.outputs.should_skip != 'true'
steps:
- name: install rust toolchain and miri
- name: install Miri etc
run: |
rustup toolchain install nightly --component miri
cargo +nightly miri setup
rustup component add miri
cargo miri setup
- uses: actions/checkout@v3
- name: cargo miri test (forth3)
run: |
cargo +nightly miri test \
cargo miri test \
--package forth3 \
--all-features
Expand Down

0 comments on commit 564c55c

Please sign in to comment.