forked from 0xPolygonHermez/zkevm-prover
-
Notifications
You must be signed in to change notification settings - Fork 4
39 lines (35 loc) · 1.32 KB
/
prover_e2e.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
name: Prover e2e test
on:
workflow_dispatch:
push:
branches: [ "main","develop", "release_*", "fork_8", "fork_8_2" ]
pull_request:
branches: [ "main","develop", "release_*", "fork_8", "fork_8_2" ]
jobs:
e2e-collection-tests:
runs-on: [self-hosted, linux, X64, hc, hm]
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install snarkjs
run: npm -g install snarkjs
- name: make
run: cd src/grpc && make && cd ../.. && make generate && make -j
- name: remove all config
run: rm -rf config
- name: remove old proofs
run: rm -rf runtime/output/*
- name: link files
run: ln -s /home/gha/v6.0.0-rc.1-fork.9/config/ config
- name: run collection native tests
run: ./build/zkProver -c testvectors/config_collection_native.json
- name: run collection generated tests
run: ./build/zkProver -c testvectors/config_collection_generated.json
- name: run e2e tests
run: ./build/zkProver -c testvectors/config_runFile_e2e.json
- name: run snarkjs verification
run: snarkjs ffv config/final/final.fflonk.verkey.json $(ls -t runtime/output/*.gen_final_proof_public.json | head -n1) $(ls -t runtime/output/*.final_proof.proof.json | head -n1)