Skip to content

feat: feat: add CI that ream-consensus and ream-bls compiles to SP1 #3

feat: feat: add CI that ream-consensus and ream-bls compiles to SP1

feat: feat: add CI that ream-consensus and ream-bls compiles to SP1 #3

Workflow file for this run

name: Riscv
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-sp1:

Check failure on line 13 in .github/workflows/riscV.yml

View workflow run for this annotation

GitHub Actions / Riscv

Invalid workflow file

The workflow is not valid. .github/workflows/riscV.yml (Line: 13, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: [cargo-fmt, cargo-clippy]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install toolchain
run: |
curl -L https://sp1up.succinct.xyz | bash
/home/runner/.sp1/bin/sp1up
rustup default succinct
- name: Build SP1
run: cargo build --target=riscv32im-succinct-zkvm-elf -p ream-consensus -p ream-bls
build-risc0:
runs-on: ubuntu-latest
needs: [cargo-fmt, cargo-clippy]
steps:
- uses: actions/checkout@v4
- name: Install toolchain
run: |
curl -L https://risczero.com/install | bash
/home/runner/.risc0/bin/rzup install
cargo risczero install
rustup default risc0
- name: Build Risc0
run: cargo build --target=riscv32im-risc0-zkvm-elf -p ream-consensus -p ream-bls