Add GitHub workflow for circuits #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |