Skip to content

Commit

Permalink
add cargo risczero test
Browse files Browse the repository at this point in the history
  • Loading branch information
jjtny1 committed Oct 2, 2023
1 parent 32a4701 commit 065cf3b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/sha2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,20 @@ jobs:
- run: cargo test
- run: cargo test --features asm

risczero-test:
name: Risc Zero Test
runs-on: [self-hosted, prod, Linux, cpu]
steps:
- uses: actions/checkout@v3
- uses: risc0/risc0/.github/actions/rustup@main
# install the risc0 toolchain using the latest release of cargo-risczero
- run: cargo install cargo-risczero
- run: cargo risczero install
- run: git clone https://github.com/risc0/risc0.git
# rebuild with the latest cargo-risczero with the experimental feature
- run: cargo install cargo-risczero --path risc0/risc0/cargo-risczero --features experimental
- run: cargo risczero test -- --release --all-features

# TODO: remove on MSRV bump to 1.57 or higher
test-msrv:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 065cf3b

Please sign in to comment.