-
-
Notifications
You must be signed in to change notification settings - Fork 20
50 lines (44 loc) · 1.15 KB
/
ci.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
50
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- "**"
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-version:
- 4.12.0
coq-version:
- 8.13.2
- 8.14.1
- 8.15.2
- 8.16.1
- 8.17.1
- 8.18.0
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 2 # for the code coverage tool
submodules: "true"
- name: Use OCaml ${{ matrix.ocaml-version }}
uses: avsm/setup-ocaml@v1
with:
ocaml-version: ${{ matrix.ocaml-version }}
- run: opam install ocamlformat.0.18.0
- run: opam exec -- make fmt-check
- run: opam pin add coq ${{ matrix.coq-version }}
- run: opam pin add coq-of-ocaml.dev . --no-action
- run: opam depext conf-ruby --yes
- run: opam install coq-of-ocaml --deps-only
- run: opam install coq-of-ocaml --verbose
- run: opam exec -- make coverage
- run: opam exec -- bisect-ppx-report send-to Codecov