Skip to content

Commit

Permalink
moved to rustup toolchain to minimal profile
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenehp committed Jun 4, 2024
1 parent d9006dc commit b6e9174
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ jobs:
- name: install nightly
uses: dtolnay/rust-toolchain@nightly
with:
profile: minimal
targets: ${{ matrix.platform.target }}
components: rust-src, miri
# components: rust-src, miri

- name: install webkit2gtk (ubuntu only)
if: contains(matrix.platform.target, 'gnu')
Expand Down Expand Up @@ -70,7 +71,9 @@ jobs:

- name: Run tests with miri
if: (!contains(matrix.platform.target, 'android') && !contains(matrix.platform.target, 'ios'))
run: cargo +nightly -Z build-std=std,panic_abort miri test --verbose --target ${{ matrix.platform.target }} --features linux-body
run: |
rustup +nightly component add miri
cargo +nightly -Z build-std=std,panic_abort miri test --verbose --target ${{ matrix.platform.target }} --features linux-body
doc:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b6e9174

Please sign in to comment.