Skip to content

Commit

Permalink
feat: v3.0.0 (succinctlabs#1670)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtguibas authored Oct 18, 2024
2 parents 169a13a + 1ec6b10 commit ff8f482
Show file tree
Hide file tree
Showing 24 changed files with 359 additions and 209 deletions.
102 changes: 51 additions & 51 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ jobs:
env:
CARGO_INCREMENTAL: 1

# - name: Add wasm target
# run: rustup target add wasm32-unknown-unknown
- name: Add wasm target
run: rustup target add wasm32-unknown-unknown

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

examples:
name: Examples
Expand Down Expand Up @@ -270,55 +270,55 @@ jobs:
--commit-hash "${{ github.sha }}" \
--author "${{ github.event.pull_request.user.login || github.actor }}"
# low-memory:
# name: Low Memory
# strategy:
# matrix:
# mem_limit: [16, 32, 64]
# runs-on:
# [
# runs-on,
# "ram=${{ matrix.mem_limit}}",
# family=c7a,
# image=ubuntu22-full-x64,
# "run-id=${{ github.run_id }}",
# ]
# env:
# CARGO_NET_GIT_FETCH_WITH_CLI: "true"
# steps:
# - name: Checkout sources
# uses: actions/checkout@v4
low-memory:
name: Low Memory
strategy:
matrix:
mem_limit: [16, 32, 64]
runs-on:
[
runs-on,
"ram=${{ matrix.mem_limit}}",
family=c7a,
image=ubuntu22-full-x64,
"run-id=${{ github.run_id }}",
]
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
steps:
- name: Checkout sources
uses: actions/checkout@v4

# - name: Setup CI
# uses: ./.github/actions/setup
- name: Setup CI
uses: ./.github/actions/setup

# - name: Install SP1 toolchain
# run: |
# curl -L https://sp1.succinct.xyz | bash
# ~/.sp1/bin/sp1up
# ~/.sp1/bin/cargo-prove prove --version
- name: Install SP1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
~/.sp1/bin/sp1up
~/.sp1/bin/cargo-prove prove --version
# - name: Install SP1 CLI
# run: |
# cd crates/cli
# cargo install --force --locked --path .
# cd ~
- name: Install SP1 CLI
run: |
cd crates/cli
cargo install --force --locked --path .
cd ~
# - name: Run tendermint script
# run: |
# cd examples/tendermint/program
# cargo add sp1-zkvm --path $GITHUB_WORKSPACE/crates/zkvm/entrypoint
# cargo prove build
# cd ../script
# cargo remove sp1-sdk
# cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
# SP1_DEV=1 RUST_LOG=info cargo run --release
- name: Run tendermint script
run: |
cd examples/tendermint/program
cargo add sp1-zkvm --path $GITHUB_WORKSPACE/crates/zkvm/entrypoint
cargo prove build
cd ../script
cargo remove sp1-sdk
cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
SP1_DEV=1 RUST_LOG=info cargo run --release
# - name: Run cycle tracking script
# run: |
# cd examples/cycle-tracking/script
# cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
# SP1_DEV=1 RUST_LOG=info cargo run --release
- name: Run cycle tracking script
run: |
cd examples/cycle-tracking/script
cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
SP1_DEV=1 RUST_LOG=info cargo run --release
# toolchain-test:
# name: "Test toolchain installation (${{ matrix.name }})"
Expand Down
Loading

0 comments on commit ff8f482

Please sign in to comment.