This repository has been archived by the owner on Nov 29, 2024. It is now read-only.
imp: derive revision_number
from chain_id
(#20)
#32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: program | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request: | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: Build | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly-2024-04-17 | |
override: true | |
- name: Install SP1 toolchain | |
run: | | |
curl -L https://sp1.succinct.xyz | bash | |
~/.config/.sp1/bin/sp1up | |
~/.config/.sp1/bin/cargo-prove prove --version | |
- name: Build SP1 program | |
run: | | |
cd programs/update-client | |
~/.config/.sp1/bin/cargo-prove prove build |