Skip to content

Commit

Permalink
initial rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmovses committed Apr 15, 2024
0 parents commit 48bc2a0
Show file tree
Hide file tree
Showing 59 changed files with 12,058 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Rust

on:
workflow_dispatch:
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 Protoc
uses: arduino/setup-protoc@v2
with:
version: "23.2"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- 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
- name: Run tests
run: cargo test
- name: Run README.md
run: chmod +x sov-rollup-starter.sh && ./sov-rollup-starter.sh
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.idea
/target/
/rollup-starter-data/
/crates/provers/risc0/guest-mock/target
docker/credentials/*
!docker/credentials/bridge-0.addr
!docker/credentials/bridge-0.key
Loading

0 comments on commit 48bc2a0

Please sign in to comment.