Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/risc0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,22 @@ jobs:
run: |
curl -L https://risczero.com/install | bash
/home/runner/.risc0/bin/rzup install r0vm 3.0.3
# rzup writes to ~/.bashrc and ~/.profile, neither of which is sourced
# by GitHub Actions `run:` steps (they execute as non-interactive,
# non-login bash). Without this, `r0vm` is not on PATH in the next
# step, and risc0-zkvm 3.x's `default_prover()` hangs indefinitely
# trying to IPC with a daemon it cannot spawn.
echo "$HOME/.risc0/bin" >> "$GITHUB_PATH"

- name: Verify r0vm on PATH
run: |
which r0vm
r0vm --version

- name: run prover
# Historically this step takes ~2h on GitHub's 2-core Ubuntu runners
# (last green main run: 2h 3m in `run prover`). Cap it at 180 min so
# a genuine slow run still passes while true hangs surface as a clean
# timeout well before the default 6h job budget is exhausted.
timeout-minutes: 180
run: zig build run -Dprover=risc0 -- prove -z risc0
Loading