@@ -20,7 +20,7 @@ concurrency:
2020jobs :
2121 plonk :
2222 name : Plonk Native
23- runs-on : runs-on,cpu=64,ram=256,family=m7i+m7a,hdd=80,image=ubuntu22-full-x64
23+ runs-on : runs-on,cpu=64,ram=256,family=m7i+m7a,hdd=80,image=ubuntu22-full-x64,spot=false
2424 env :
2525 CARGO_NET_GIT_FETCH_WITH_CLI : " true"
2626 steps :
3939 env :
4040 RUSTFLAGS : -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0 -C target-cpu=native
4141 RUST_BACKTRACE : 1
42+
4243 plonk-docker :
4344 name : Plonk Docker
44- runs-on : runs-on,cpu=64,ram=256,family=m7i+m7a,hdd=80,image=ubuntu22-full-x64
45+ runs-on : runs-on,cpu=64,ram=256,family=m7i+m7a,hdd=80,image=ubuntu22-full-x64,spot=false
4546 env :
4647 CARGO_NET_GIT_FETCH_WITH_CLI : " true"
4748 steps :
6061 env :
6162 RUSTFLAGS : -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0 -C target-cpu=native
6263 RUST_BACKTRACE : 1
64+
6365 check-branch :
6466 name : Check branch
6567 runs-on : ubuntu-latest
6971 run : |
7072 echo "ERROR: You can only merge to main from dev, release/*, or hotfix/*."
7173 exit 1
74+
75+ ssz-withdrawals :
76+ name : Example (SSZ Withdrawals)
77+ runs-on : runs-on,runner=64cpu-linux-arm64,spot=false
78+ env :
79+ CARGO_NET_GIT_FETCH_WITH_CLI : " true"
80+ steps :
81+ - name : Checkout sources
82+ uses : actions/checkout@v4
83+
84+ - name : Setup CI
85+ uses : ./.github/actions/setup
86+
87+ - name : Install SP1 toolchain
88+ run : |
89+ curl -L https://sp1.succinct.xyz | bash
90+ ~/.sp1/bin/sp1up
91+ ~/.sp1/bin/cargo-prove prove --version
92+
93+ - name : Install SP1 CLI
94+ run : |
95+ cd cli
96+ cargo install --force --locked --path .
97+ cd ~
98+
99+ - name : Run script
100+ run : |
101+ cd examples/ssz-withdrawals/program
102+ cargo add sp1-zkvm --path $GITHUB_WORKSPACE/zkvm/entrypoint
103+ cargo prove build
104+ cd ../script
105+ cargo remove sp1-sdk
106+ cargo add sp1-sdk --path $GITHUB_WORKSPACE/sdk
107+ SP1_DEV=1 RUST_LOG=info cargo run --release
108+
109+ tendermint :
110+ name : Example (Tendermint)
111+ runs-on : runs-on,runner=64cpu-linux-arm64,spot=false
112+ env :
113+ CARGO_NET_GIT_FETCH_WITH_CLI : " true"
114+ steps :
115+ - name : Checkout sources
116+ uses : actions/checkout@v4
117+
118+ - name : Setup CI
119+ uses : ./.github/actions/setup
120+
121+ - name : Install SP1 toolchain
122+ run : |
123+ curl -L https://sp1.succinct.xyz | bash
124+ ~/.sp1/bin/sp1up
125+ ~/.sp1/bin/cargo-prove prove --version
126+
127+ - name : Install SP1 CLI
128+ run : |
129+ cd cli
130+ cargo install --force --locked --path .
131+ cd ~
132+
133+ - name : Run script
134+ run : |
135+ cd examples/tendermint/program
136+ cargo add sp1-zkvm --path $GITHUB_WORKSPACE/zkvm/entrypoint
137+ cargo prove build
138+ cd ../script
139+ cargo remove sp1-sdk
140+ cargo add sp1-sdk --path $GITHUB_WORKSPACE/sdk
141+ SP1_DEV=1 RUST_LOG=info cargo run --release
0 commit comments