Skip to content

Commit ff8f482

Browse files
authored
feat: v3.0.0 (#1670)
2 parents 169a13a + 1ec6b10 commit ff8f482

File tree

24 files changed

+359
-209
lines changed

24 files changed

+359
-209
lines changed

.github/workflows/pr.yml

+51-51
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ jobs:
120120
env:
121121
CARGO_INCREMENTAL: 1
122122

123-
# - name: Add wasm target
124-
# run: rustup target add wasm32-unknown-unknown
123+
- name: Add wasm target
124+
run: rustup target add wasm32-unknown-unknown
125125

126-
# - name: Check wasm compatibility for sdk
127-
# uses: actions-rs/cargo@v1
128-
# with:
129-
# command: check
130-
# args: -p sp1-sdk --target wasm32-unknown-unknown --no-default-features
126+
- name: Check wasm compatibility for sdk
127+
uses: actions-rs/cargo@v1
128+
with:
129+
command: check
130+
args: -p sp1-sdk --target wasm32-unknown-unknown --no-default-features
131131

132132
examples:
133133
name: Examples
@@ -270,55 +270,55 @@ jobs:
270270
--commit-hash "${{ github.sha }}" \
271271
--author "${{ github.event.pull_request.user.login || github.actor }}"
272272
273-
# low-memory:
274-
# name: Low Memory
275-
# strategy:
276-
# matrix:
277-
# mem_limit: [16, 32, 64]
278-
# runs-on:
279-
# [
280-
# runs-on,
281-
# "ram=${{ matrix.mem_limit}}",
282-
# family=c7a,
283-
# image=ubuntu22-full-x64,
284-
# "run-id=${{ github.run_id }}",
285-
# ]
286-
# env:
287-
# CARGO_NET_GIT_FETCH_WITH_CLI: "true"
288-
# steps:
289-
# - name: Checkout sources
290-
# uses: actions/checkout@v4
273+
low-memory:
274+
name: Low Memory
275+
strategy:
276+
matrix:
277+
mem_limit: [16, 32, 64]
278+
runs-on:
279+
[
280+
runs-on,
281+
"ram=${{ matrix.mem_limit}}",
282+
family=c7a,
283+
image=ubuntu22-full-x64,
284+
"run-id=${{ github.run_id }}",
285+
]
286+
env:
287+
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
288+
steps:
289+
- name: Checkout sources
290+
uses: actions/checkout@v4
291291

292-
# - name: Setup CI
293-
# uses: ./.github/actions/setup
292+
- name: Setup CI
293+
uses: ./.github/actions/setup
294294

295-
# - name: Install SP1 toolchain
296-
# run: |
297-
# curl -L https://sp1.succinct.xyz | bash
298-
# ~/.sp1/bin/sp1up
299-
# ~/.sp1/bin/cargo-prove prove --version
295+
- name: Install SP1 toolchain
296+
run: |
297+
curl -L https://sp1.succinct.xyz | bash
298+
~/.sp1/bin/sp1up
299+
~/.sp1/bin/cargo-prove prove --version
300300
301-
# - name: Install SP1 CLI
302-
# run: |
303-
# cd crates/cli
304-
# cargo install --force --locked --path .
305-
# cd ~
301+
- name: Install SP1 CLI
302+
run: |
303+
cd crates/cli
304+
cargo install --force --locked --path .
305+
cd ~
306306
307-
# - name: Run tendermint script
308-
# run: |
309-
# cd examples/tendermint/program
310-
# cargo add sp1-zkvm --path $GITHUB_WORKSPACE/crates/zkvm/entrypoint
311-
# cargo prove build
312-
# cd ../script
313-
# cargo remove sp1-sdk
314-
# cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
315-
# SP1_DEV=1 RUST_LOG=info cargo run --release
307+
- name: Run tendermint script
308+
run: |
309+
cd examples/tendermint/program
310+
cargo add sp1-zkvm --path $GITHUB_WORKSPACE/crates/zkvm/entrypoint
311+
cargo prove build
312+
cd ../script
313+
cargo remove sp1-sdk
314+
cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
315+
SP1_DEV=1 RUST_LOG=info cargo run --release
316316
317-
# - name: Run cycle tracking script
318-
# run: |
319-
# cd examples/cycle-tracking/script
320-
# cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
321-
# SP1_DEV=1 RUST_LOG=info cargo run --release
317+
- name: Run cycle tracking script
318+
run: |
319+
cd examples/cycle-tracking/script
320+
cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
321+
SP1_DEV=1 RUST_LOG=info cargo run --release
322322
323323
# toolchain-test:
324324
# name: "Test toolchain installation (${{ matrix.name }})"

0 commit comments

Comments
 (0)