File tree Expand file tree Collapse file tree 3 files changed +31
-38
lines changed
Expand file tree Collapse file tree 3 files changed +31
-38
lines changed Original file line number Diff line number Diff line change 1+ # A helper reusable workflow to install all the toolchains.
2+
3+ name : Install toolchains
4+ description : " Helper to install ZKVM toolchains."
5+
6+ runs :
7+ using : " composite"
8+ steps :
9+ - name : Set up Clang
10+ uses : egor-tensin/setup-clang@v1
11+ with :
12+ version : latest
13+ platform : x64
14+
15+ - name : Install SP1 Toolchain
16+ run : |
17+ curl -fsSL --proto '=https' --tlsv1.2 https://sp1.succinct.xyz | bash && ~/.sp1/bin/sp1up
18+ export PATH=~/.sp1/bin:$PATH
19+ cargo prove --version
20+
21+ - name : Install RISC0 Toolchain
22+ run : |
23+ curl -fsSL --proto '=https' --tlsv1.2 https://risczero.com/install | bash && ~/.risc0/bin/rzup install
24+ export PATH=~/.risc0/bin:$PATH
25+ cargo risczero --version
Original file line number Diff line number Diff line change 1818 - uses : actions/checkout@v4
1919 with :
2020 persist-credentials : false
21+ - name : Install toolchains
22+ uses : .github/actions/toolchains
2123 - uses : dtolnay/rust-toolchain@clippy
2224 - uses : Swatinem/rust-cache@v2
2325 with :
3436 - uses : actions/checkout@v4
3537 with :
3638 persist-credentials : false
37-
39+
3840 - name : Cleanup space
39- uses : ./.github/actions/cleanup # zizmor: ignore[unpinned-uses]
41+ uses : .github/actions/cleanup # zizmor: ignore[unpinned-uses]
42+ - name : Install toolchains
43+ uses : .github/actions/toolchains
4044
4145 - uses : dtolnay/rust-toolchain@nightly
4246 with :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments