Add callback-oriented versions of constraint_system
and generate_witness
#419
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: Check build | |
on: | |
[pull_request] | |
jobs: | |
check_build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
ocaml-version: | |
- 4.14.0 # match mina's version | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Get code | |
uses: actions/checkout@v2 | |
- name: Use OCaml ${{ matrix.ocaml-version }} | |
uses: avsm/setup-ocaml@v1 | |
with: | |
ocaml-version: ${{ matrix.ocaml-version }} | |
- name: Build | |
run: | | |
eval $(opam env) | |
opam update | |
opam pin add . -y | |
- name: Tests | |
run: | | |
eval $(opam env) | |
dune runtest | |
- name: Format | |
run: | | |
eval $(opam env) | |
opam install ocamlformat.0.20.1 # match mina's version | |
dune build @fmt |