Skip to content

Commit

Permalink
Add GitHub workflow for circuits
Browse files Browse the repository at this point in the history
  • Loading branch information
ax0 committed Mar 30, 2024
1 parent f194d3c commit c703978
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/noir.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Noir

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install Noir toolchain
uses: noir-lang/[email protected]
with:
toolchain: nightly
- name: Prove single SMT OP circuit
run: |
cd circuits/single_smt_op
nargo prove
- name: Verify single SMT OP circuit
run: |
cd circuits/single_smt_op
nargo verify
- name: Prove batch SMT OP circuit
run: |
cd circuits/batch_smt_op
nargo prove
- name: Verify batch SMT OP circuit
run: |
cd circuits/batch_smt_op
nargo verify

0 comments on commit c703978

Please sign in to comment.