Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Mar 27, 2024
1 parent 1bdc9af commit 22e1368
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/proof_verification_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Continuous Integration - proof verification tests

on:
push:
branches:
- main
# branches:
# - main
pull_request:
branches:
- main
# branches:
# - main

jobs:
verify-proof:
Expand Down Expand Up @@ -34,14 +34,20 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Configure layout
run: python configure.py -l ${{ matrix.layout }} -s keccak
- name: Checkout custom scarb
uses: actions/checkout@v3
with:
repository: fmkra/scarb

- name: Build custom scarb
run: cargo build --release
working-directory: scarb

- name: Build project
run: scarb build
run: ./scarb/target/release/scarb build --no-default-features --features=${{ matrix.layout }},keccak

- name: Test project
run: scarb test
run: ./scarb/target/release/scarb test --no-default-features --features=${{ matrix.layout }},keccak

- name: Run verification
run: cargo run --release --bin runner -- target/dev/cairo_verifier.sierra.json < examples/proofs/${{ matrix.layout }}/example_proof.json

0 comments on commit 22e1368

Please sign in to comment.