Skip to content

STR-687: improve NUMS unspendable public key #53

STR-687: improve NUMS unspendable public key

STR-687: improve NUMS unspendable public key #53

Workflow file for this run

name: Run prover guest code checks
on:
pull_request:
merge_group:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Rust
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2024-07-27
- name: Use Cargo cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
# Installs mold (modern ld), a drop-in replacement for lld.
# Under the hood, the following action symlinks mold binary onto lld,
# so everything is linked faster (hopefully).
- name: Install mold linker
uses: rui314/setup-mold@v1
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: latest
platform: x64
- name: Install SP1 Toolchain
run: |
curl -fsSL --proto '=https' --tlsv1.2 https://sp1.succinct.xyz | bash && ~/.sp1/bin/sp1up
export PATH=~/.sp1/bin:$PATH
cargo prove --version
- name: Checkout code
uses: actions/checkout@v4
- name: Build prover guest code
run: cargo build --profile prover-ci -F "prover"
working-directory: provers/sp1
env:
RUSTFLAGS: "-C link-arg=-fuse-ld=lld"
# Temporary disabled.
# TODO(STR-694): To be re-enabled once prover-client has its features and build stabilized.
#- name: Build prover client binary
# run: cargo build --profile prover-ci -F "prover"
# working-directory: bin/prover-client
# env:
# RUSTFLAGS: "-C link-arg=-fuse-ld=lld"