Skip to content

Commit

Permalink
CI: fix sha2 build (#623)
Browse files Browse the repository at this point in the history
Moves `cargo install cross` prior to the installation of `nightly`,
because `cross` no longer compiles on nightly.
  • Loading branch information
tarcieri authored Oct 12, 2024
1 parent 7d1f6b5 commit a281383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sha2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- run: cargo install cross --git https://github.com/cross-rs/cross
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
- run: cargo install cross --git https://github.com/cross-rs/cross
- run: cross test --package sha2 --all-features --target riscv64gc-unknown-linux-gnu
env:
RUSTFLAGS: -Dwarnings --cfg sha2_backend="soft" -C target-feature=+zknh,+zbkb
Expand Down

0 comments on commit a281383

Please sign in to comment.