Skip to content

Commit

Permalink
Fix CI for RISC0 version 1.0.2 (#2888)
Browse files Browse the repository at this point in the history
This PR updates the version of `cargo-risczero` in the CI. Ultimately,
we should figure out how to properly pin a fixed version, but apparently
that's not easy - it seems some dependencies need to be pinned and it's
not clear which ones, how, and to which versions. The problem is that to
execute the Rust code generated for RISC0 we need to compile it, and the
generated code depends on some RISC0-related libraries. Having the
correct version of the RISC0 Rust toolchain installed locally doesn't
fully solve the problem (doesn't seem to automatically select the right
versions of dependencies).
  • Loading branch information
lukaszcz committed Jul 12, 2024
1 parent 40f5be4 commit 1777251
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
shell: bash
run: |
cargo install cargo-binstall@1.6.9 --force
cargo binstall cargo-risczero@1.0.1 --no-confirm --force
cargo binstall cargo-risczero@1.0.2 --no-confirm --force
cargo risczero install
- name: Checkout CairoVM
Expand Down Expand Up @@ -360,8 +360,8 @@ jobs:
- name: Install RISC0 VM
shell: bash
run: |
cargo install cargo-binstall
cargo binstall cargo-risczero@1.0.1 --no-confirm --rate-limit 1/10
cargo install cargo-binstall@1.6.9 --force
cargo binstall cargo-risczero@1.0.2 --no-confirm --force
cargo risczero install
- name: Checkout CairoVM
Expand Down

0 comments on commit 1777251

Please sign in to comment.