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

Commit

Permalink
ci: added Program workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Jun 21, 2024
1 parent a53fcf2 commit 1674ccc
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/program.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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 SP1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
~/.sp1/bin/sp1up
~/.sp1/bin/cargo-prove prove --version
- name: Build SP1 program
run: |
cd program
~/.sp1/bin/cargo-prove prove build --release

0 comments on commit 1674ccc

Please sign in to comment.