Skip to content

Commit

Permalink
merge dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwen01 committed Nov 5, 2024
2 parents a67c727 + 432b4a4 commit 64d3fb5
Show file tree
Hide file tree
Showing 107 changed files with 11,001 additions and 1,602 deletions.
2 changes: 2 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ runs:
~/.cargo/git/db/
target/
~/.rustup/
~/.sp1/circuits/plonk/
~/.sp1/circuits/groth16/
key: rust-1.81.0-${{ hashFiles('**/Cargo.toml') }}
restore-keys: rust-1.81.0-

Expand Down
31 changes: 22 additions & 9 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,6 @@ jobs:
env:
CARGO_INCREMENTAL: 1

- 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

examples:
name: Examples
runs-on:
Expand Down Expand Up @@ -402,3 +393,25 @@ jobs:
- uses: getsentry/action-git-diff-suggestions@main
with:
message: typos

check-verifier-no-std:
name: Check Verifier `no_std`
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: riscv32imac-unknown-none-elf

- name: Install target support
run: rustup target add riscv32imac-unknown-none-elf

- name: Check build
run: cargo check --target riscv32imac-unknown-none-elf --no-default-features -p sp1-verifier

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ pgo-data.profdata
**/program.bin
**/stdin.bin

# Example fibonacci groth16 / plonk proofs
examples/fibonacci/fibonacci-groth16.bin
examples/fibonacci/fibonacci-plonk.bin

# Benchmark
benchmark.csv

Expand Down
Loading

0 comments on commit 64d3fb5

Please sign in to comment.