mirror of
https://github.com/eth-act/ere.git
synced 2026-04-03 03:00:17 -04:00
Risc0 docker compilation (#58)
This commit is contained in:
6
.github/workflows/rust-checks.yml
vendored
6
.github/workflows/rust-checks.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
crate: [ere-sp1]
|
||||
crate: [ere-sp1, ere-risc0]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -51,9 +51,9 @@ jobs:
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
|
||||
- name: Check clippy
|
||||
run: cargo clippy --bins --lib --examples --tests --benches --all-features -p ${{ matrix.crate }}
|
||||
run: cargo clippy --bins --lib --examples --tests --benches -p ${{ matrix.crate }}
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --release -p ${{ matrix.crate }}
|
||||
|
||||
33
.github/workflows/test-risc0-docker.yml
vendored
33
.github/workflows/test-risc0-docker.yml
vendored
@@ -1,33 +0,0 @@
|
||||
name: Test Risc0 (Docker)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
test-risc0-via-docker-build:
|
||||
name: Build Risc0 Docker Image
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build ere-base image
|
||||
run: |
|
||||
docker build \
|
||||
--tag ere-base:latest \
|
||||
--file docker/base/Dockerfile.base .
|
||||
|
||||
- name: Build ere-builder-risc0 image
|
||||
run: |
|
||||
docker build \
|
||||
--tag ere-builder-risc0:latest \
|
||||
--file docker/risc0/Dockerfile .
|
||||
Reference in New Issue
Block a user