Skip to content

MVP Integration

MVP Integration #107

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: ["*"]
jobs:
kzg_prover:
name: KZG Prover
uses: ./.github/workflows/rust_ci.yaml
with:
directory: kzg_prover
skip_run: true
public_input_gen:
name: Public input generation
uses: ./.github/workflows/rust_ci.yaml
with:
directory: public_input_gen
verify_circuit_tests:
name: Verifying circuit Rust tests
uses: ./.github/workflows/rust_ci.yaml
with:
directory: verify_circuit_tests
evm_bridge:
name: Build and test EVM bridge
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./evm_bridge
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v3
with:
node-version: latest
- name: Install rust toolchain for Mina monorepo
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly-2022-09-12-x86_64-unknown-linux-gnu
- name: Cache opam packages
uses: actions/cache@v3
with:
key: opam
path: /home/runner/.opam
- name: Clone Mina monorepo and set commit env var
run: |
git clone https://github.com/lambdaclass/mina_monorepo.git
cd mina_monorepo
echo "MINA_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
- name: Cache Mina monorepo packages
uses: actions/cache@v3
with:
key: mina_monorepo-${{ env.MINA_COMMIT }}
path: /home/runner/work/mina_bridge/mina_bridge/mina_monorepo
- name: Install opam dependencies
run: sudo apt-get install opam liblmdb-dev && opam init
- name: Set up dependencies
run: npm ci
- name: Run npm build
run: npm run build
- name: Run npm test
run: npm run test