-
Notifications
You must be signed in to change notification settings - Fork 6
49 lines (34 loc) · 1.25 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
49
name: Continuous Integration
on:
pull_request:
branches: [ "master" ]
push:
branches: [ "master" ]
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-compiler:
- 4.13.1
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: sudo apt-get install z3 -y
- run: opam pin add -n hardcaml git+https://github.com/janestreet/hardcaml.git#master
- run: opam pin add -n hardcaml_verify git+https://github.com/janestreet/hardcaml_verify.git#master
- run: opam pin add -n hardcaml_verilator git+https://github.com/janestreet/hardcaml_verilator.git#master
- run: opam pin add -n hardcaml_waveterm git+https://github.com/janestreet/hardcaml_waveterm.git#master
- run: opam install . --deps-only --with-doc --with-test
- run: cd libs/rust/ark_bls12_377_g1/ && cargo build && cd ../../..
- run: opam exec -- dune build
- run: opam exec -- dune runtest
- name: Check repo is clean
run: git diff --exit-code