-
Notifications
You must be signed in to change notification settings - Fork 19
48 lines (37 loc) · 1.19 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: tutorial_check
on:
push:
branches: [ master ]
pull_request:
concurrency:
group: ${{
( github.ref == 'refs/heads/master' &&
format('{0}/{1}', github.run_id, github.run_attempt) )
||
format('{0}/{1}', github.workflow, github.ref) }}
cancel-in-progress: true
env:
ZKLLVM_VERSION: 0.0.86
TOOLCHAIN_VERSION: 0.0.37
jobs:
test-zkllvm-workflow:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: setup environment
run: |
export user_id=$(id -u)
export group_id=$(id -g)
scripts/run.sh init
- name: Compile a circuit
run: scripts/run.sh --verbose --docker compile
- name: Build a statement for the Proof Market
run: scripts/run.sh --verbose --docker build_statement
- name: Calculate a proof
run: scripts/run.sh --verbose --docker prove
- name: Make constraint and assignment table for EVM verifier endpoint
run: scripts/run.sh --verbose --docker build_constraint
- name: Build circuit parameters for EVM verifier endpoint
run: scripts/run.sh --verbose --docker build_circuit_params