-
Notifications
You must be signed in to change notification settings - Fork 25
56 lines (54 loc) · 1.6 KB
/
build.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
name: Test compilation
on:
push:
branches:
- master
- coq-8.17
pull_request:
branches:
- "**"
workflow_dispatch:
inputs: {}
jobs:
build-matrix:
runs-on: ubuntu-latest
strategy:
matrix:
opam_file:
- 'coq-certicoq.opam'
image:
- 'yforster/coq:8.19.1--clang-11--compcert-3.13.1--extlib-0.12.1--equations-1.3--metacoq-1.3.1'
fail-fast: false # don't stop jobs if one fails
steps:
- uses: actions/checkout@v3
# with:
# submodules: true
- uses: coq-community/docker-coq-action@v1
with:
custom_image: ${{ matrix.image }}
opam_file: ${{ matrix.opam_file }}
# before_install: | # comment back in if MetaCoq commit changes
# startGroup "fix permission issues"
# sudo chown -R coq:coq .
# endGroup
# startGroup "opam pin"
# opam pin -n -y submodules/metacoq
# endGroup
before_script: |
startGroup "fix permission issues"
sudo chown -R coq:coq .
endGroup
startGroup "Copy repo (for later benchmarking)"
cp -r `pwd` ~/repo
endGroup
after_script: |
startGroup "List installed packages"
opam list
endGroup
startGroup "Run benchmarks"
make -C ~/repo/benchmarks all
endGroup
startGroup "Test bootstrapped plugins"
cd ~/repo && ./configure.sh global
make -C ~/repo/bootstrap test
endGroup