Skip to content

Commit

Permalink
CI: fix sha2 build
Browse files Browse the repository at this point in the history
The `riscv64-zknh` job was trying to install `cross` from git, and it no
longer compiles.

This changes it to use our shared `cross-install` shared action
  • Loading branch information
tarcieri committed Oct 12, 2024
1 parent 7d1f6b5 commit 4acab97
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
- uses: RustCrypto/actions/cross-install@master
- 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 4acab97

Please sign in to comment.