Use docker compose #217
Workflow file for this run
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: 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 | |
docker compose up -d | |
- 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 |