25
25
COQ_VERSION : " 8.18.0" # pick a version not tested on other platforms
26
26
COQCHKEXTRAFLAGS : " "
27
27
SKIP_BEDROCK2 : " 0"
28
+ OPAMYES : " true"
29
+ OPAMCONFIRMLEVEL : " unsafe-yes"
28
30
29
31
name : macos
30
32
@@ -38,56 +40,32 @@ jobs:
38
40
ocaml-compiler : 4.11.1
39
41
40
42
- name : Install system dependencies
41
- run : |
42
- set -e
43
- brew install gnu-time gnu-sed coreutils
43
+ run : brew install gnu-time gnu-sed coreutils
44
44
45
45
- name : Install Coq
46
46
run : |
47
47
set -e
48
- eval $(opam env)
49
48
opam update
50
49
opam pin add coq ${COQ_VERSION}
51
50
env :
52
51
OPAMYES : " true"
53
52
OPAMCONFIRMLEVEL : " unsafe-yes"
54
53
55
54
- name : Install js_of_ocaml
56
- run : |
57
- set -e
58
- eval $(opam env)
59
- opam install js_of_ocaml
60
- env :
61
- OPAMYES : " true"
62
- OPAMCONFIRMLEVEL : " unsafe-yes"
55
+ run : opam install js_of_ocaml
63
56
64
57
- name : echo build params
65
- run : |
66
- eval $(opam env)
67
- etc/ci/describe-system-config-macos.sh
58
+ run : etc/ci/describe-system-config-macos.sh
68
59
- name : deps
69
- run : |
70
- eval $(opam env)
71
- etc/ci/github-actions-make.sh -j2 deps
60
+ run : opam exec -- etc/ci/github-actions-make.sh -j2 deps
72
61
- name : all
73
- run : |
74
- eval $(opam env)
75
- etc/ci/github-actions-make.sh -j2 all
76
-
62
+ run : opam exec -- etc/ci/github-actions-make.sh -j2 all
77
63
- name : install-standalone-unified-ocaml
78
- run : |
79
- eval $(opam env)
80
- etc/ci/github-actions-make.sh install-standalone-unified-ocaml BINDIR=dist
81
-
64
+ run : opam exec -- etc/ci/github-actions-make.sh install-standalone-unified-ocaml BINDIR=dist
82
65
- name : install-standalone-js-of-ocaml
83
- run : |
84
- eval $(opam env)
85
- etc/ci/github-actions-make.sh install-standalone-js-of-ocaml
86
-
66
+ run : opam exec -- etc/ci/github-actions-make.sh install-standalone-js-of-ocaml
87
67
- name : only-test-amd64-files-lite
88
- run : |
89
- eval $(opam env)
90
- etc/ci/github-actions-make.sh -j2 only-test-amd64-files-lite SLOWEST_FIRST=1
68
+ run : opam exec -- etc/ci/github-actions-make.sh -j2 only-test-amd64-files-lite SLOWEST_FIRST=1
91
69
92
70
- name : upload OCaml files
93
71
uses : actions/upload-artifact@v3
@@ -110,17 +88,11 @@ jobs:
110
88
name : standalone-html-macos
111
89
path : fiat-html
112
90
- name : install
113
- run : |
114
- eval $(opam env)
115
- etc/ci/github-actions-make.sh EXTERNAL_DEPENDENCIES=1 SKIP_COQSCRIPTS_INCLUDE=1 install install-standalone-ocaml
91
+ run : opam exec -- etc/ci/github-actions-make.sh EXTERNAL_DEPENDENCIES=1 SKIP_COQSCRIPTS_INCLUDE=1 install install-standalone-ocaml
116
92
- name : install-without-bedrock2
117
- run : |
118
- eval $(opam env)
119
- etc/ci/github-actions-make.sh EXTERNAL_DEPENDENCIES=1 SKIP_BEDROCK2=1 install-without-bedrock2 install-standalone-ocaml
93
+ run : opam exec -- etc/ci/github-actions-make.sh EXTERNAL_DEPENDENCIES=1 SKIP_BEDROCK2=1 install-without-bedrock2 install-standalone-ocaml
120
94
- name : install-dev
121
- run : |
122
- eval $(opam env)
123
- etc/ci/github-actions-make.sh EXTERNAL_REWRITER=1 EXTERNAL_COQPRIME=1 install install-standalone-ocaml
95
+ run : opam exec -- etc/ci/github-actions-make.sh EXTERNAL_REWRITER=1 EXTERNAL_COQPRIME=1 install install-standalone-ocaml
124
96
- name : display timing info
125
97
run : cat time-of-build-pretty.log
126
98
- name : display per-line timing info
0 commit comments