-
Notifications
You must be signed in to change notification settings - Fork 8
68 lines (66 loc) · 1.46 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Docker CI
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
build-coq:
runs-on: ubuntu-latest
container:
image: coqorg/base:4.14.2-flambda
# - 'coqorg/coq:dev'
options: --user root
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
repository: proux01/coq
ref: split_stdlib
- name: List
run: ls -a
- name: Install prerequisite
run: |
#apt-get install --no-install-recommends -y -qq perl libgmp-dev
opam init
opam install dune ocamlfind zarith
- name: Build
run: |
make dunestrap
dune build -p coq-core,coq-stdlib @install
- name: Install
run: dune install coq-core coq-stdlib
build-stdlib:
needs:
- build-coq
runs-on: ubuntu-latest
container:
image: coqorg/base:4.14.2-flambda
# - 'coqorg/coq:dev'
options: --user root
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Build
run: "make"
- name: Install
run: "make install"
build-coqutil:
needs:
- build-stdlib
runs-on: ubuntu-latest
container:
image: coqorg/base:4.14.2-flambda
# - 'coqorg/coq:dev'
options: --user root
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
repository: mit-plv/fiat-crypto
ref: master
submodules: recursive
- name: Build
run: "ls"