-
Notifications
You must be signed in to change notification settings - Fork 5
104 lines (98 loc) · 3.01 KB
/
coq.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
name: CI (Coq)
on:
push:
pull_request:
schedule:
- cron: '0 0 1 * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
COQ_VERSION: ["dev-native", "8.19-native", "8.18-native", "8.17-native", "8.16-native", "8.15", "8.14", "8.13", "8.12", "8.11", "8.10", "8.9", "8.8"]
concurrency:
group: ${{ github.workflow }}-${{ matrix.COQ_VERSION }}-${{ github.head_ref || ( github.ref == 'refs/heads/master' && github.run_id ) || github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v2
- name: echo build params (host)
run: |
echo "::group::lscpu"
lscpu
echo "::endgroup::"
echo "::group::uname -a"
uname -a
echo "::endgroup::"
echo "::group::lsb_release -a"
lsb_release -a
echo "::endgroup::"
echo "::group::etc/machine.sh"
etc/machine.sh
echo "::endgroup::"
echo "::group::ocamlc -config"
ocamlc -config
echo "::endgroup::"
echo "::group::coqc --config"
coqc --config
echo "::endgroup::"
echo "::group::coqc --version"
coqc --version
echo "::endgroup::"
echo "::group::echo | coqtop"
true | coqtop
echo "::endgroup::"
- name: echo build params (container)
uses: coq-community/docker-coq-action@v1
with:
coq_version: ${{ matrix.COQ_VERSION }}
ocaml_version: default
custom_script: |
startGroup "lscpu"
lscpu
endGroup
startGroup "uname -a"
uname -a
endGroup
startGroup "etc/machine.sh"
etc/machine.sh
endGroup
startGroup "ocamlc -config"
ocamlc -config
endGroup
startGroup "coqc --config"
coqc --config
endGroup
startGroup "coqc --version"
coqc --version
endGroup
startGroup "echo | coqtop"
true | coqtop
endGroup
sudo chmod -R a=u .
# Work around https://github.com/actions/checkout/issues/766
git config --global --add safe.directory "*"
- name: make coq
uses: coq-community/docker-coq-action@v1
with:
coq_version: ${{ matrix.COQ_VERSION }}
ocaml_version: default
custom_script: make coq
- name: make coq-perf-Sanity
uses: coq-community/docker-coq-action@v1
with:
coq_version: ${{ matrix.COQ_VERSION }}
ocaml_version: default
custom_script: make coq-perf-Sanity
- name: sudo make coq-install
uses: coq-community/docker-coq-action@v1
with:
coq_version: ${{ matrix.COQ_VERSION }}
ocaml_version: default
custom_script: sudo make coq-install
- name: sudo make coq-install-perf-Sanity
uses: coq-community/docker-coq-action@v1
with:
coq_version: ${{ matrix.COQ_VERSION }}
ocaml_version: default
custom_script: sudo make coq-install-perf-Sanity