-
Notifications
You must be signed in to change notification settings - Fork 22
43 lines (42 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
on:
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
ocaml-version: [5.2.0, 5.1.1, 5.0.0, 4.14.2, 4.13.1] # does not compile with: 4.12.1, 4.11.2, 4.10.2, 4.09.1, 4.08.1
# ocaml-format-version: [0.24.1] # 0.24.1 is incompatible with ocaml 5.2.0
runs-on: ubuntu-latest
steps:
- name: checking out dedukti repo...
uses: actions/checkout@v4
- name: setting up opam...
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
dune-cache: true
- name: installing dependencies...
run: |
opam update
opam upgrade
opam install . --deps-only -t
# - name: Checking formatting...
# run: |
# eval $(opam env)
# opam install ocamlformat.${{ matrix.ocaml-format-version }}
# make fmt
- name: Check universo compiles...
run: |
eval $(opam env)
make universo
- name: running Tezt tests...
run: |
tests/check_test_list.py
eval $(opam env)
make tezt
- name: running light libraries...
if: github.event_name != 'schedule'
run: |
eval $(opam env)
make light_tests