Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

ci: added ci for building program to 'riscv32im-succinct-zkvm-elf' #5

ci: added ci for building program to 'riscv32im-succinct-zkvm-elf'

ci: added ci for building program to 'riscv32im-succinct-zkvm-elf' #5

Workflow file for this run

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-latest
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
$HOME/.sp1/bin/sp1up
$HOME/.sp1/bin/cargo-prove prove --version
- name: Build SP1 program
run: |
cd program
$HOME/.sp1/bin/cargo-prove prove build --release