-
Notifications
You must be signed in to change notification settings - Fork 31
47 lines (45 loc) · 1.36 KB
/
docker-action.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
name: Docker CI
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
image:
- 'coqorg/coq:dev-ocaml-4.12-flambda'
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: coq-community/docker-coq-action@v1
with:
custom_image: ${{ matrix.image }}
custom_script: |
{{before_install}}
startGroup "Build coq-hammer-tactics dependencies"
opam pin add -n -y -k path coq-hammer-tactics .
opam update -y
opam install -y -j $(nproc) coq-hammer-tactics --deps-only
endGroup
startGroup "Build coq-hammer-tactics"
opam install -y -v -j $(nproc) coq-hammer-tactics
opam list
endGroup
startGroup "Build coq-hammer dependencies"
opam pin add -n -y -k path coq-hammer .
opam update -y
opam install -y -j $(nproc) coq-hammer --deps-only
endGroup
startGroup "Build coq-hammer"
opam install -y -v -j $(nproc) coq-hammer
opam list
endGroup
startGroup "Uninstallation test"
opam remove -y coq-hammer
opam remove -y coq-hammer-tactics
endGroup