Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: v3.0.0 #1670

Merged
merged 16 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
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
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
Loading