-
Notifications
You must be signed in to change notification settings - Fork 79
66 lines (55 loc) · 1.38 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: CI
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# check PRs
pull_request:
branches:
- master
# check pushes
push:
branches:
- master
jobs:
test1:
runs-on: ubuntu-22.04
name: OCaml 4.05, Camlp5 7.10
steps:
- name: Install dependency
run: |
sudo apt update && sudo apt install -y opam
opam init --disable-sandboxing --compiler=4.05.0
opam pin -y add camlp5 7.10
opam install -y zarith
- name: Checkout this repo
uses: actions/checkout@v2
with:
path: hol-light
- name: Run
run: |
cd hol-light
eval $(opam env)
make
./hol.sh | tee log.txt
! grep "Error" log.txt
test2:
runs-on: ubuntu-22.04
name: OCaml 4.14, Camlp5 8.02
steps:
- name: Install dependency
run: |
sudo apt update && sudo apt install -y opam xdot
opam init --disable-sandboxing --compiler=4.14.0
opam pin -y add camlp5 8.02.01
opam install -y zarith
- name: Checkout this repo
uses: actions/checkout@v2
with:
path: hol-light
- name: Run
run: |
cd hol-light
eval $(opam env)
make
./hol.sh | tee log.txt
! grep "Error" log.txt