Skip to content

Commit

Permalink
don't cache RISC0 VM
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Jun 12, 2024
1 parent cb4f6da commit f678f56
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,27 +135,18 @@ jobs:
path: ${{ env.HOME }}/.local/bin/juvix-cairo-vm
key: ${{ runner.os }}-cairo-vm-${{ env.CAIRO_VM_VERSION }}

- name: Cache RISC0 VM
id: cache-risc0-vm
uses: actions/cache@v4
with:
path: ${{ env.HOME }}/.local/bin/r0vm
key: ${{ runner.os }}-risc0-vm-${{ env.RISC0_VM_VERSION }}

- name: Install Rust toolchain
if: steps.cache-cairo-vm.outputs.cache-hit != 'true' || steps.cache-risc0-vm.outputs.cache-hit != 'true'
if: steps.cache-cairo-vm.outputs.cache-hit != 'true'
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache-on-failure: false

- name: Install RISC0 VM
if: steps.cache-risc0-vm.outputs.cache-hit != 'true'
shell: bash
run: |
cargo install cargo-binstall --force
cargo binstall cargo-risczero@1.0.1 --no-confirm --force
cargo risczero install
cp `which r0vm` $HOME/.local/bin/r0vm
- name: Checkout CairoVM
uses: actions/checkout@v4
Expand Down

0 comments on commit f678f56

Please sign in to comment.