-
Notifications
You must be signed in to change notification settings - Fork 6
34 lines (33 loc) · 1012 Bytes
/
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
on:
pull_request:
types: [opened, synchronize, edited, reopened]
push:
workflow_dispatch:
jobs:
build_lambdapi:
strategy:
fail-fast: false
matrix:
ocaml-version: [5.2.0, 5.1.1, 5.0.0, 4.14.1, 4.13.1, 4.12.1, 4.11.2, 4.10.2, 4.09.1, 4.08.1]
runs-on: ubuntu-latest
steps:
- name: checking out lambdapi repo ...
uses: actions/checkout@v4
- name: recovering cached opam files ...
uses: actions/cache@v4
with:
path: ~/.opam
key: ${{ runner.os }}-ocaml-${{ matrix.ocaml-version }}
- name: setting up opam ...
uses: avsm/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
- name: installing dependencies ...
run: |
opam pin add -n -k path zenon_modulo .
opam install --deps-only zenon_modulo
- name: compiling zenon_modulo ...
run: |
eval `opam env`
./configure
make zenon_modulo.bin