Skip to content

Commit

Permalink
Rollup implemntation
Browse files Browse the repository at this point in the history
  • Loading branch information
bkolad committed Oct 24, 2023
1 parent da568dc commit 6aee9eb
Show file tree
Hide file tree
Showing 34 changed files with 6,425 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Rust

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install cargo-risc0 # Risc0 v0.17 and higher require a cargo extension to build the guest code
run: cargo install cargo-risczero
- name: Install risc0-zkvm toolchain # Use the risc0 cargo extension to install the risc0 std library for the current toolchain
run: cargo risczero install
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/target/
/rollup-starter-data/
/crates/provers/risc0/guest-mock/target
Loading

0 comments on commit 6aee9eb

Please sign in to comment.