Skip to content

Commit

Permalink
add proofs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Oct 15, 2024
1 parent e1625c7 commit d07d84f
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,10 @@ jobs:
always() && !cancelled()
secrets: inherit

verify-circuit-proof:
name: Verify Circuit Proof
uses: ./.github/workflows/verify-circuit-proof.yml
if: |
always() && !cancelled()
secrets: inherit

33 changes: 33 additions & 0 deletions .github/workflows/verify-circuit-proof.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Verify circuit proof

on:
workflow_call:

jobs:
produce-proofs:
name: "Produce and verify proofs"
runs-on: [self-hosted, Linux, X64, aws_autoscaling]
steps:
- name: Clean up after previous checkout
run: chmod +w -R ${GITHUB_WORKSPACE}; rm -rf ${GITHUB_WORKSPACE}/*;

- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Create test binary
run: |
nix develop .#crypto3-tests
cd crypto3
eval "$configurePhase"
ninja transpiler_evm_test
./libs/transpiler/test/transpiler_evm_test -- --save-proof-data
- name: Publish Proofs
uses: actions/upload-artifact@v4
with:
name: proofs
path: |
placeholder/crypto3/build/circuit*

0 comments on commit d07d84f

Please sign in to comment.