Debian Codegraph @

.github/workflows/nix-action-rocq-9.2.yml

raw symbols SCIP
1 jobs:
2 bignums:
3 needs:
4 - rocq-core
5 - stdlib
6 runs-on: ubuntu-latest
7 steps:
8 - name: Determine which commit to initially checkout
9 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
10 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
11 }}\" >> $GITHUB_ENV\nfi\n"
12 - name: Git checkout
13 uses: actions/checkout@v6
14 with:
15 fetch-depth: 0
16 ref: ${{ env.target_commit }}
17 - name: Determine which commit to test
18 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
19 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
20 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
21 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
22 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
23 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
24 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
25 \ fi\nfi\n"
26 - name: Git checkout
27 uses: actions/checkout@v6
28 with:
29 fetch-depth: 0
30 ref: ${{ env.tested_commit }}
31 - name: Cachix install
32 uses: cachix/install-nix-action@v31
33 with:
34 nix_path: nixpkgs=channel:nixpkgs-unstable
35 - name: Cachix setup coq-elpi
36 uses: cachix/cachix-action@v16
37 with:
38 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
39 extraPullNames: coq, coq-community, math-comp
40 name: coq-elpi
41 - id: stepGetDerivation
42 name: Getting derivation for current job (bignums)
43 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
44 \"rocq-9.2\" --argstr job \"bignums\" \\\n --dry-run 2> err > out || (touch
45 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
46 failed\"; exit 1; fi\n"
47 - id: stepCheck
48 name: Checking presence of CI target for current job
49 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
50 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
51 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
52 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
53 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
54 - if: steps.stepCheck.outputs.status != 'fetched'
55 name: 'Building/fetching previous CI target: rocq-core'
56 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
57 "rocq-9.2" --argstr job "rocq-core"
58 - if: steps.stepCheck.outputs.status != 'fetched'
59 name: 'Building/fetching previous CI target: stdlib'
60 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
61 "rocq-9.2" --argstr job "stdlib"
62 - if: steps.stepCheck.outputs.status != 'fetched'
63 name: Building/fetching current CI target
64 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
65 "rocq-9.2" --argstr job "bignums"
66 coq:
67 needs:
68 - rocq-core
69 runs-on: ubuntu-latest
70 steps:
71 - name: Determine which commit to initially checkout
72 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
73 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
74 }}\" >> $GITHUB_ENV\nfi\n"
75 - name: Git checkout
76 uses: actions/checkout@v6
77 with:
78 fetch-depth: 0
79 ref: ${{ env.target_commit }}
80 - name: Determine which commit to test
81 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
82 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
83 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
84 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
85 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
86 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
87 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
88 \ fi\nfi\n"
89 - name: Git checkout
90 uses: actions/checkout@v6
91 with:
92 fetch-depth: 0
93 ref: ${{ env.tested_commit }}
94 - name: Cachix install
95 uses: cachix/install-nix-action@v31
96 with:
97 nix_path: nixpkgs=channel:nixpkgs-unstable
98 - name: Cachix setup coq-elpi
99 uses: cachix/cachix-action@v16
100 with:
101 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
102 extraPullNames: coq, coq-community, math-comp
103 name: coq-elpi
104 - id: stepGetDerivation
105 name: Getting derivation for current job (coq)
106 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
107 \"rocq-9.2\" --argstr job \"coq\" \\\n --dry-run 2> err > out || (touch
108 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
109 failed\"; exit 1; fi\n"
110 - id: stepCheck
111 name: Checking presence of CI target for current job
112 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
113 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
114 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
115 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
116 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
117 - if: steps.stepCheck.outputs.status != 'fetched'
118 name: 'Building/fetching previous CI target: rocq-core'
119 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
120 "rocq-9.2" --argstr job "rocq-core"
121 - if: steps.stepCheck.outputs.status != 'fetched'
122 name: Building/fetching current CI target
123 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
124 "rocq-9.2" --argstr job "coq"
125 coq-elpi:
126 needs:
127 - rocq-core
128 runs-on: ubuntu-latest
129 steps:
130 - name: Determine which commit to initially checkout
131 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
132 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
133 }}\" >> $GITHUB_ENV\nfi\n"
134 - name: Git checkout
135 uses: actions/checkout@v6
136 with:
137 fetch-depth: 0
138 ref: ${{ env.target_commit }}
139 - name: Determine which commit to test
140 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
141 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
142 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
143 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
144 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
145 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
146 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
147 \ fi\nfi\n"
148 - name: Git checkout
149 uses: actions/checkout@v6
150 with:
151 fetch-depth: 0
152 ref: ${{ env.tested_commit }}
153 - name: Cachix install
154 uses: cachix/install-nix-action@v31
155 with:
156 nix_path: nixpkgs=channel:nixpkgs-unstable
157 - name: Cachix setup coq-elpi
158 uses: cachix/cachix-action@v16
159 with:
160 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
161 extraPullNames: coq, coq-community, math-comp
162 name: coq-elpi
163 - id: stepGetDerivation
164 name: Getting derivation for current job (coq-elpi)
165 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
166 \"rocq-9.2\" --argstr job \"coq-elpi\" \\\n --dry-run 2> err > out || (touch
167 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
168 failed\"; exit 1; fi\n"
169 - id: stepCheck
170 name: Checking presence of CI target for current job
171 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
172 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
173 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
174 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
175 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
176 - if: steps.stepCheck.outputs.status != 'fetched'
177 name: 'Building/fetching previous CI target: rocq-core'
178 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
179 "rocq-9.2" --argstr job "rocq-core"
180 - if: steps.stepCheck.outputs.status != 'fetched'
181 name: Building/fetching current CI target
182 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
183 "rocq-9.2" --argstr job "coq-elpi"
184 hierarchy-builder:
185 needs:
186 - rocq-core
187 - coq-elpi
188 runs-on: ubuntu-latest
189 steps:
190 - name: Determine which commit to initially checkout
191 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
192 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
193 }}\" >> $GITHUB_ENV\nfi\n"
194 - name: Git checkout
195 uses: actions/checkout@v6
196 with:
197 fetch-depth: 0
198 ref: ${{ env.target_commit }}
199 - name: Determine which commit to test
200 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
201 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
202 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
203 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
204 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
205 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
206 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
207 \ fi\nfi\n"
208 - name: Git checkout
209 uses: actions/checkout@v6
210 with:
211 fetch-depth: 0
212 ref: ${{ env.tested_commit }}
213 - name: Cachix install
214 uses: cachix/install-nix-action@v31
215 with:
216 nix_path: nixpkgs=channel:nixpkgs-unstable
217 - name: Cachix setup coq-elpi
218 uses: cachix/cachix-action@v16
219 with:
220 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
221 extraPullNames: coq, coq-community, math-comp
222 name: coq-elpi
223 - id: stepGetDerivation
224 name: Getting derivation for current job (hierarchy-builder)
225 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
226 \"rocq-9.2\" --argstr job \"hierarchy-builder\" \\\n --dry-run 2> err >
227 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
228 getting derivation failed\"; exit 1; fi\n"
229 - id: stepCheck
230 name: Checking presence of CI target for current job
231 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
232 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
233 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
234 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
235 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
236 - if: steps.stepCheck.outputs.status != 'fetched'
237 name: 'Building/fetching previous CI target: rocq-core'
238 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
239 "rocq-9.2" --argstr job "rocq-core"
240 - if: steps.stepCheck.outputs.status != 'fetched'
241 name: 'Building/fetching previous CI target: coq-elpi'
242 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
243 "rocq-9.2" --argstr job "coq-elpi"
244 - if: steps.stepCheck.outputs.status != 'fetched'
245 name: Building/fetching current CI target
246 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
247 "rocq-9.2" --argstr job "hierarchy-builder"
248 mathcomp:
249 needs:
250 - rocq-core
251 - mathcomp-character
252 - hierarchy-builder
253 runs-on: ubuntu-latest
254 steps:
255 - name: Determine which commit to initially checkout
256 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
257 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
258 }}\" >> $GITHUB_ENV\nfi\n"
259 - name: Git checkout
260 uses: actions/checkout@v6
261 with:
262 fetch-depth: 0
263 ref: ${{ env.target_commit }}
264 - name: Determine which commit to test
265 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
266 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
267 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
268 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
269 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
270 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
271 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
272 \ fi\nfi\n"
273 - name: Git checkout
274 uses: actions/checkout@v6
275 with:
276 fetch-depth: 0
277 ref: ${{ env.tested_commit }}
278 - name: Cachix install
279 uses: cachix/install-nix-action@v31
280 with:
281 nix_path: nixpkgs=channel:nixpkgs-unstable
282 - name: Cachix setup coq-elpi
283 uses: cachix/cachix-action@v16
284 with:
285 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
286 extraPullNames: coq, coq-community, math-comp
287 name: coq-elpi
288 - id: stepGetDerivation
289 name: Getting derivation for current job (mathcomp)
290 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
291 \"rocq-9.2\" --argstr job \"mathcomp\" \\\n --dry-run 2> err > out || (touch
292 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
293 failed\"; exit 1; fi\n"
294 - id: stepCheck
295 name: Checking presence of CI target for current job
296 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
297 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
298 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
299 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
300 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
301 - if: steps.stepCheck.outputs.status != 'fetched'
302 name: 'Building/fetching previous CI target: rocq-core'
303 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
304 "rocq-9.2" --argstr job "rocq-core"
305 - if: steps.stepCheck.outputs.status != 'fetched'
306 name: 'Building/fetching previous CI target: mathcomp-character'
307 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
308 "rocq-9.2" --argstr job "mathcomp-character"
309 - if: steps.stepCheck.outputs.status != 'fetched'
310 name: 'Building/fetching previous CI target: hierarchy-builder'
311 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
312 "rocq-9.2" --argstr job "hierarchy-builder"
313 - if: steps.stepCheck.outputs.status != 'fetched'
314 name: Building/fetching current CI target
315 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
316 "rocq-9.2" --argstr job "mathcomp"
317 mathcomp-algebra:
318 needs:
319 - rocq-core
320 - mathcomp-order
321 - mathcomp-fingroup
322 - hierarchy-builder
323 runs-on: ubuntu-latest
324 steps:
325 - name: Determine which commit to initially checkout
326 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
327 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
328 }}\" >> $GITHUB_ENV\nfi\n"
329 - name: Git checkout
330 uses: actions/checkout@v6
331 with:
332 fetch-depth: 0
333 ref: ${{ env.target_commit }}
334 - name: Determine which commit to test
335 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
336 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
337 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
338 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
339 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
340 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
341 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
342 \ fi\nfi\n"
343 - name: Git checkout
344 uses: actions/checkout@v6
345 with:
346 fetch-depth: 0
347 ref: ${{ env.tested_commit }}
348 - name: Cachix install
349 uses: cachix/install-nix-action@v31
350 with:
351 nix_path: nixpkgs=channel:nixpkgs-unstable
352 - name: Cachix setup coq-elpi
353 uses: cachix/cachix-action@v16
354 with:
355 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
356 extraPullNames: coq, coq-community, math-comp
357 name: coq-elpi
358 - id: stepGetDerivation
359 name: Getting derivation for current job (mathcomp-algebra)
360 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
361 \"rocq-9.2\" --argstr job \"mathcomp-algebra\" \\\n --dry-run 2> err > out
362 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
363 derivation failed\"; exit 1; fi\n"
364 - id: stepCheck
365 name: Checking presence of CI target for current job
366 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
367 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
368 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
369 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
370 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
371 - if: steps.stepCheck.outputs.status != 'fetched'
372 name: 'Building/fetching previous CI target: rocq-core'
373 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
374 "rocq-9.2" --argstr job "rocq-core"
375 - if: steps.stepCheck.outputs.status != 'fetched'
376 name: 'Building/fetching previous CI target: mathcomp-order'
377 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
378 "rocq-9.2" --argstr job "mathcomp-order"
379 - if: steps.stepCheck.outputs.status != 'fetched'
380 name: 'Building/fetching previous CI target: mathcomp-fingroup'
381 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
382 "rocq-9.2" --argstr job "mathcomp-fingroup"
383 - if: steps.stepCheck.outputs.status != 'fetched'
384 name: 'Building/fetching previous CI target: hierarchy-builder'
385 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
386 "rocq-9.2" --argstr job "hierarchy-builder"
387 - if: steps.stepCheck.outputs.status != 'fetched'
388 name: 'Building/fetching previous CI target: micromega-plugin'
389 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
390 "rocq-9.2" --argstr job "micromega-plugin"
391 - if: steps.stepCheck.outputs.status != 'fetched'
392 name: Building/fetching current CI target
393 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
394 "rocq-9.2" --argstr job "mathcomp-algebra"
395 mathcomp-analysis:
396 needs:
397 - rocq-core
398 - mathcomp-reals
399 - mathcomp-field
400 - mathcomp-bigenough
401 - mathcomp-real-closed
402 runs-on: ubuntu-latest
403 steps:
404 - name: Determine which commit to initially checkout
405 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
406 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
407 }}\" >> $GITHUB_ENV\nfi\n"
408 - name: Git checkout
409 uses: actions/checkout@v6
410 with:
411 fetch-depth: 0
412 ref: ${{ env.target_commit }}
413 - name: Determine which commit to test
414 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
415 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
416 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
417 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
418 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
419 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
420 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
421 \ fi\nfi\n"
422 - name: Git checkout
423 uses: actions/checkout@v6
424 with:
425 fetch-depth: 0
426 ref: ${{ env.tested_commit }}
427 - name: Cachix install
428 uses: cachix/install-nix-action@v31
429 with:
430 nix_path: nixpkgs=channel:nixpkgs-unstable
431 - name: Cachix setup coq-elpi
432 uses: cachix/cachix-action@v16
433 with:
434 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
435 extraPullNames: coq, coq-community, math-comp
436 name: coq-elpi
437 - id: stepGetDerivation
438 name: Getting derivation for current job (mathcomp-analysis)
439 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
440 \"rocq-9.2\" --argstr job \"mathcomp-analysis\" \\\n --dry-run 2> err >
441 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
442 getting derivation failed\"; exit 1; fi\n"
443 - id: stepCheck
444 name: Checking presence of CI target for current job
445 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
446 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
447 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
448 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
449 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
450 - if: steps.stepCheck.outputs.status != 'fetched'
451 name: 'Building/fetching previous CI target: rocq-core'
452 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
453 "rocq-9.2" --argstr job "rocq-core"
454 - if: steps.stepCheck.outputs.status != 'fetched'
455 name: 'Building/fetching previous CI target: mathcomp-reals'
456 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
457 "rocq-9.2" --argstr job "mathcomp-reals"
458 - if: steps.stepCheck.outputs.status != 'fetched'
459 name: 'Building/fetching previous CI target: mathcomp-field'
460 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
461 "rocq-9.2" --argstr job "mathcomp-field"
462 - if: steps.stepCheck.outputs.status != 'fetched'
463 name: 'Building/fetching previous CI target: mathcomp-bigenough'
464 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
465 "rocq-9.2" --argstr job "mathcomp-bigenough"
466 - if: steps.stepCheck.outputs.status != 'fetched'
467 name: 'Building/fetching previous CI target: mathcomp-real-closed'
468 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
469 "rocq-9.2" --argstr job "mathcomp-real-closed"
470 - if: steps.stepCheck.outputs.status != 'fetched'
471 name: Building/fetching current CI target
472 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
473 "rocq-9.2" --argstr job "mathcomp-analysis"
474 mathcomp-bigenough:
475 needs:
476 - rocq-core
477 - mathcomp-boot
478 runs-on: ubuntu-latest
479 steps:
480 - name: Determine which commit to initially checkout
481 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
482 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
483 }}\" >> $GITHUB_ENV\nfi\n"
484 - name: Git checkout
485 uses: actions/checkout@v6
486 with:
487 fetch-depth: 0
488 ref: ${{ env.target_commit }}
489 - name: Determine which commit to test
490 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
491 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
492 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
493 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
494 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
495 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
496 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
497 \ fi\nfi\n"
498 - name: Git checkout
499 uses: actions/checkout@v6
500 with:
501 fetch-depth: 0
502 ref: ${{ env.tested_commit }}
503 - name: Cachix install
504 uses: cachix/install-nix-action@v31
505 with:
506 nix_path: nixpkgs=channel:nixpkgs-unstable
507 - name: Cachix setup coq-elpi
508 uses: cachix/cachix-action@v16
509 with:
510 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
511 extraPullNames: coq, coq-community, math-comp
512 name: coq-elpi
513 - id: stepGetDerivation
514 name: Getting derivation for current job (mathcomp-bigenough)
515 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
516 \"rocq-9.2\" --argstr job \"mathcomp-bigenough\" \\\n --dry-run 2> err >
517 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
518 getting derivation failed\"; exit 1; fi\n"
519 - id: stepCheck
520 name: Checking presence of CI target for current job
521 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
522 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
523 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
524 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
525 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
526 - if: steps.stepCheck.outputs.status != 'fetched'
527 name: 'Building/fetching previous CI target: rocq-core'
528 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
529 "rocq-9.2" --argstr job "rocq-core"
530 - if: steps.stepCheck.outputs.status != 'fetched'
531 name: 'Building/fetching previous CI target: mathcomp-boot'
532 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
533 "rocq-9.2" --argstr job "mathcomp-boot"
534 - if: steps.stepCheck.outputs.status != 'fetched'
535 name: Building/fetching current CI target
536 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
537 "rocq-9.2" --argstr job "mathcomp-bigenough"
538 mathcomp-boot:
539 needs:
540 - rocq-core
541 - hierarchy-builder
542 runs-on: ubuntu-latest
543 steps:
544 - name: Determine which commit to initially checkout
545 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
546 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
547 }}\" >> $GITHUB_ENV\nfi\n"
548 - name: Git checkout
549 uses: actions/checkout@v6
550 with:
551 fetch-depth: 0
552 ref: ${{ env.target_commit }}
553 - name: Determine which commit to test
554 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
555 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
556 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
557 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
558 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
559 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
560 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
561 \ fi\nfi\n"
562 - name: Git checkout
563 uses: actions/checkout@v6
564 with:
565 fetch-depth: 0
566 ref: ${{ env.tested_commit }}
567 - name: Cachix install
568 uses: cachix/install-nix-action@v31
569 with:
570 nix_path: nixpkgs=channel:nixpkgs-unstable
571 - name: Cachix setup coq-elpi
572 uses: cachix/cachix-action@v16
573 with:
574 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
575 extraPullNames: coq, coq-community, math-comp
576 name: coq-elpi
577 - id: stepGetDerivation
578 name: Getting derivation for current job (mathcomp-boot)
579 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
580 \"rocq-9.2\" --argstr job \"mathcomp-boot\" \\\n --dry-run 2> err > out
581 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
582 derivation failed\"; exit 1; fi\n"
583 - id: stepCheck
584 name: Checking presence of CI target for current job
585 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
586 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
587 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
588 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
589 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
590 - if: steps.stepCheck.outputs.status != 'fetched'
591 name: 'Building/fetching previous CI target: rocq-core'
592 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
593 "rocq-9.2" --argstr job "rocq-core"
594 - if: steps.stepCheck.outputs.status != 'fetched'
595 name: 'Building/fetching previous CI target: hierarchy-builder'
596 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
597 "rocq-9.2" --argstr job "hierarchy-builder"
598 - if: steps.stepCheck.outputs.status != 'fetched'
599 name: Building/fetching current CI target
600 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
601 "rocq-9.2" --argstr job "mathcomp-boot"
602 mathcomp-character:
603 needs:
604 - rocq-core
605 - mathcomp-field
606 - hierarchy-builder
607 runs-on: ubuntu-latest
608 steps:
609 - name: Determine which commit to initially checkout
610 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
611 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
612 }}\" >> $GITHUB_ENV\nfi\n"
613 - name: Git checkout
614 uses: actions/checkout@v6
615 with:
616 fetch-depth: 0
617 ref: ${{ env.target_commit }}
618 - name: Determine which commit to test
619 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
620 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
621 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
622 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
623 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
624 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
625 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
626 \ fi\nfi\n"
627 - name: Git checkout
628 uses: actions/checkout@v6
629 with:
630 fetch-depth: 0
631 ref: ${{ env.tested_commit }}
632 - name: Cachix install
633 uses: cachix/install-nix-action@v31
634 with:
635 nix_path: nixpkgs=channel:nixpkgs-unstable
636 - name: Cachix setup coq-elpi
637 uses: cachix/cachix-action@v16
638 with:
639 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
640 extraPullNames: coq, coq-community, math-comp
641 name: coq-elpi
642 - id: stepGetDerivation
643 name: Getting derivation for current job (mathcomp-character)
644 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
645 \"rocq-9.2\" --argstr job \"mathcomp-character\" \\\n --dry-run 2> err >
646 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
647 getting derivation failed\"; exit 1; fi\n"
648 - id: stepCheck
649 name: Checking presence of CI target for current job
650 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
651 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
652 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
653 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
654 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
655 - if: steps.stepCheck.outputs.status != 'fetched'
656 name: 'Building/fetching previous CI target: rocq-core'
657 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
658 "rocq-9.2" --argstr job "rocq-core"
659 - if: steps.stepCheck.outputs.status != 'fetched'
660 name: 'Building/fetching previous CI target: mathcomp-field'
661 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
662 "rocq-9.2" --argstr job "mathcomp-field"
663 - if: steps.stepCheck.outputs.status != 'fetched'
664 name: 'Building/fetching previous CI target: hierarchy-builder'
665 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
666 "rocq-9.2" --argstr job "hierarchy-builder"
667 - if: steps.stepCheck.outputs.status != 'fetched'
668 name: Building/fetching current CI target
669 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
670 "rocq-9.2" --argstr job "mathcomp-character"
671 mathcomp-classical:
672 needs:
673 - rocq-core
674 - mathcomp-algebra
675 - mathcomp-finmap
676 runs-on: ubuntu-latest
677 steps:
678 - name: Determine which commit to initially checkout
679 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
680 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
681 }}\" >> $GITHUB_ENV\nfi\n"
682 - name: Git checkout
683 uses: actions/checkout@v6
684 with:
685 fetch-depth: 0
686 ref: ${{ env.target_commit }}
687 - name: Determine which commit to test
688 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
689 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
690 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
691 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
692 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
693 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
694 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
695 \ fi\nfi\n"
696 - name: Git checkout
697 uses: actions/checkout@v6
698 with:
699 fetch-depth: 0
700 ref: ${{ env.tested_commit }}
701 - name: Cachix install
702 uses: cachix/install-nix-action@v31
703 with:
704 nix_path: nixpkgs=channel:nixpkgs-unstable
705 - name: Cachix setup coq-elpi
706 uses: cachix/cachix-action@v16
707 with:
708 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
709 extraPullNames: coq, coq-community, math-comp
710 name: coq-elpi
711 - id: stepGetDerivation
712 name: Getting derivation for current job (mathcomp-classical)
713 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
714 \"rocq-9.2\" --argstr job \"mathcomp-classical\" \\\n --dry-run 2> err >
715 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
716 getting derivation failed\"; exit 1; fi\n"
717 - id: stepCheck
718 name: Checking presence of CI target for current job
719 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
720 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
721 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
722 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
723 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
724 - if: steps.stepCheck.outputs.status != 'fetched'
725 name: 'Building/fetching previous CI target: rocq-core'
726 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
727 "rocq-9.2" --argstr job "rocq-core"
728 - if: steps.stepCheck.outputs.status != 'fetched'
729 name: 'Building/fetching previous CI target: mathcomp-algebra'
730 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
731 "rocq-9.2" --argstr job "mathcomp-algebra"
732 - if: steps.stepCheck.outputs.status != 'fetched'
733 name: 'Building/fetching previous CI target: mathcomp-finmap'
734 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
735 "rocq-9.2" --argstr job "mathcomp-finmap"
736 - if: steps.stepCheck.outputs.status != 'fetched'
737 name: Building/fetching current CI target
738 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
739 "rocq-9.2" --argstr job "mathcomp-classical"
740 mathcomp-experimental-reals:
741 needs:
742 - rocq-core
743 - mathcomp-analysis
744 - mathcomp-bigenough
745 runs-on: ubuntu-latest
746 steps:
747 - name: Determine which commit to initially checkout
748 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
749 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
750 }}\" >> $GITHUB_ENV\nfi\n"
751 - name: Git checkout
752 uses: actions/checkout@v6
753 with:
754 fetch-depth: 0
755 ref: ${{ env.target_commit }}
756 - name: Determine which commit to test
757 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
758 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
759 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
760 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
761 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
762 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
763 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
764 \ fi\nfi\n"
765 - name: Git checkout
766 uses: actions/checkout@v6
767 with:
768 fetch-depth: 0
769 ref: ${{ env.tested_commit }}
770 - name: Cachix install
771 uses: cachix/install-nix-action@v31
772 with:
773 nix_path: nixpkgs=channel:nixpkgs-unstable
774 - name: Cachix setup coq-elpi
775 uses: cachix/cachix-action@v16
776 with:
777 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
778 extraPullNames: coq, coq-community, math-comp
779 name: coq-elpi
780 - id: stepGetDerivation
781 name: Getting derivation for current job (mathcomp-experimental-reals)
782 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
783 \"rocq-9.2\" --argstr job \"mathcomp-experimental-reals\" \\\n --dry-run
784 2> err > out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo
785 \"Error: getting derivation failed\"; exit 1; fi\n"
786 - id: stepCheck
787 name: Checking presence of CI target for current job
788 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
789 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
790 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
791 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
792 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
793 - if: steps.stepCheck.outputs.status != 'fetched'
794 name: 'Building/fetching previous CI target: rocq-core'
795 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
796 "rocq-9.2" --argstr job "rocq-core"
797 - if: steps.stepCheck.outputs.status != 'fetched'
798 name: 'Building/fetching previous CI target: mathcomp-analysis'
799 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
800 "rocq-9.2" --argstr job "mathcomp-analysis"
801 - if: steps.stepCheck.outputs.status != 'fetched'
802 name: 'Building/fetching previous CI target: mathcomp-bigenough'
803 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
804 "rocq-9.2" --argstr job "mathcomp-bigenough"
805 - if: steps.stepCheck.outputs.status != 'fetched'
806 name: Building/fetching current CI target
807 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
808 "rocq-9.2" --argstr job "mathcomp-experimental-reals"
809 mathcomp-field:
810 needs:
811 - rocq-core
812 - mathcomp-solvable
813 - hierarchy-builder
814 runs-on: ubuntu-latest
815 steps:
816 - name: Determine which commit to initially checkout
817 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
818 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
819 }}\" >> $GITHUB_ENV\nfi\n"
820 - name: Git checkout
821 uses: actions/checkout@v6
822 with:
823 fetch-depth: 0
824 ref: ${{ env.target_commit }}
825 - name: Determine which commit to test
826 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
827 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
828 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
829 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
830 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
831 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
832 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
833 \ fi\nfi\n"
834 - name: Git checkout
835 uses: actions/checkout@v6
836 with:
837 fetch-depth: 0
838 ref: ${{ env.tested_commit }}
839 - name: Cachix install
840 uses: cachix/install-nix-action@v31
841 with:
842 nix_path: nixpkgs=channel:nixpkgs-unstable
843 - name: Cachix setup coq-elpi
844 uses: cachix/cachix-action@v16
845 with:
846 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
847 extraPullNames: coq, coq-community, math-comp
848 name: coq-elpi
849 - id: stepGetDerivation
850 name: Getting derivation for current job (mathcomp-field)
851 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
852 \"rocq-9.2\" --argstr job \"mathcomp-field\" \\\n --dry-run 2> err > out
853 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
854 derivation failed\"; exit 1; fi\n"
855 - id: stepCheck
856 name: Checking presence of CI target for current job
857 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
858 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
859 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
860 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
861 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
862 - if: steps.stepCheck.outputs.status != 'fetched'
863 name: 'Building/fetching previous CI target: rocq-core'
864 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
865 "rocq-9.2" --argstr job "rocq-core"
866 - if: steps.stepCheck.outputs.status != 'fetched'
867 name: 'Building/fetching previous CI target: mathcomp-solvable'
868 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
869 "rocq-9.2" --argstr job "mathcomp-solvable"
870 - if: steps.stepCheck.outputs.status != 'fetched'
871 name: 'Building/fetching previous CI target: hierarchy-builder'
872 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
873 "rocq-9.2" --argstr job "hierarchy-builder"
874 - if: steps.stepCheck.outputs.status != 'fetched'
875 name: Building/fetching current CI target
876 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
877 "rocq-9.2" --argstr job "mathcomp-field"
878 mathcomp-fingroup:
879 needs:
880 - rocq-core
881 - mathcomp-boot
882 - hierarchy-builder
883 runs-on: ubuntu-latest
884 steps:
885 - name: Determine which commit to initially checkout
886 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
887 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
888 }}\" >> $GITHUB_ENV\nfi\n"
889 - name: Git checkout
890 uses: actions/checkout@v6
891 with:
892 fetch-depth: 0
893 ref: ${{ env.target_commit }}
894 - name: Determine which commit to test
895 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
896 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
897 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
898 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
899 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
900 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
901 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
902 \ fi\nfi\n"
903 - name: Git checkout
904 uses: actions/checkout@v6
905 with:
906 fetch-depth: 0
907 ref: ${{ env.tested_commit }}
908 - name: Cachix install
909 uses: cachix/install-nix-action@v31
910 with:
911 nix_path: nixpkgs=channel:nixpkgs-unstable
912 - name: Cachix setup coq-elpi
913 uses: cachix/cachix-action@v16
914 with:
915 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
916 extraPullNames: coq, coq-community, math-comp
917 name: coq-elpi
918 - id: stepGetDerivation
919 name: Getting derivation for current job (mathcomp-fingroup)
920 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
921 \"rocq-9.2\" --argstr job \"mathcomp-fingroup\" \\\n --dry-run 2> err >
922 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
923 getting derivation failed\"; exit 1; fi\n"
924 - id: stepCheck
925 name: Checking presence of CI target for current job
926 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
927 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
928 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
929 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
930 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
931 - if: steps.stepCheck.outputs.status != 'fetched'
932 name: 'Building/fetching previous CI target: rocq-core'
933 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
934 "rocq-9.2" --argstr job "rocq-core"
935 - if: steps.stepCheck.outputs.status != 'fetched'
936 name: 'Building/fetching previous CI target: mathcomp-boot'
937 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
938 "rocq-9.2" --argstr job "mathcomp-boot"
939 - if: steps.stepCheck.outputs.status != 'fetched'
940 name: 'Building/fetching previous CI target: hierarchy-builder'
941 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
942 "rocq-9.2" --argstr job "hierarchy-builder"
943 - if: steps.stepCheck.outputs.status != 'fetched'
944 name: Building/fetching current CI target
945 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
946 "rocq-9.2" --argstr job "mathcomp-fingroup"
947 mathcomp-finmap:
948 needs:
949 - rocq-core
950 - mathcomp-boot
951 runs-on: ubuntu-latest
952 steps:
953 - name: Determine which commit to initially checkout
954 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
955 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
956 }}\" >> $GITHUB_ENV\nfi\n"
957 - name: Git checkout
958 uses: actions/checkout@v6
959 with:
960 fetch-depth: 0
961 ref: ${{ env.target_commit }}
962 - name: Determine which commit to test
963 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
964 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
965 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
966 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
967 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
968 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
969 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
970 \ fi\nfi\n"
971 - name: Git checkout
972 uses: actions/checkout@v6
973 with:
974 fetch-depth: 0
975 ref: ${{ env.tested_commit }}
976 - name: Cachix install
977 uses: cachix/install-nix-action@v31
978 with:
979 nix_path: nixpkgs=channel:nixpkgs-unstable
980 - name: Cachix setup coq-elpi
981 uses: cachix/cachix-action@v16
982 with:
983 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
984 extraPullNames: coq, coq-community, math-comp
985 name: coq-elpi
986 - id: stepGetDerivation
987 name: Getting derivation for current job (mathcomp-finmap)
988 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
989 \"rocq-9.2\" --argstr job \"mathcomp-finmap\" \\\n --dry-run 2> err > out
990 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
991 derivation failed\"; exit 1; fi\n"
992 - id: stepCheck
993 name: Checking presence of CI target for current job
994 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
995 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
996 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
997 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
998 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
999 - if: steps.stepCheck.outputs.status != 'fetched'
1000 name: 'Building/fetching previous CI target: rocq-core'
1001 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1002 "rocq-9.2" --argstr job "rocq-core"
1003 - if: steps.stepCheck.outputs.status != 'fetched'
1004 name: 'Building/fetching previous CI target: mathcomp-boot'
1005 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1006 "rocq-9.2" --argstr job "mathcomp-boot"
1007 - if: steps.stepCheck.outputs.status != 'fetched'
1008 name: Building/fetching current CI target
1009 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1010 "rocq-9.2" --argstr job "mathcomp-finmap"
1011 mathcomp-order:
1012 needs:
1013 - rocq-core
1014 - mathcomp-boot
1015 - hierarchy-builder
1016 runs-on: ubuntu-latest
1017 steps:
1018 - name: Determine which commit to initially checkout
1019 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1020 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1021 }}\" >> $GITHUB_ENV\nfi\n"
1022 - name: Git checkout
1023 uses: actions/checkout@v6
1024 with:
1025 fetch-depth: 0
1026 ref: ${{ env.target_commit }}
1027 - name: Determine which commit to test
1028 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1029 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1030 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1031 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1032 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1033 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1034 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1035 \ fi\nfi\n"
1036 - name: Git checkout
1037 uses: actions/checkout@v6
1038 with:
1039 fetch-depth: 0
1040 ref: ${{ env.tested_commit }}
1041 - name: Cachix install
1042 uses: cachix/install-nix-action@v31
1043 with:
1044 nix_path: nixpkgs=channel:nixpkgs-unstable
1045 - name: Cachix setup coq-elpi
1046 uses: cachix/cachix-action@v16
1047 with:
1048 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1049 extraPullNames: coq, coq-community, math-comp
1050 name: coq-elpi
1051 - id: stepGetDerivation
1052 name: Getting derivation for current job (mathcomp-order)
1053 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1054 \"rocq-9.2\" --argstr job \"mathcomp-order\" \\\n --dry-run 2> err > out
1055 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
1056 derivation failed\"; exit 1; fi\n"
1057 - id: stepCheck
1058 name: Checking presence of CI target for current job
1059 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1060 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1061 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1062 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1063 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1064 - if: steps.stepCheck.outputs.status != 'fetched'
1065 name: 'Building/fetching previous CI target: rocq-core'
1066 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1067 "rocq-9.2" --argstr job "rocq-core"
1068 - if: steps.stepCheck.outputs.status != 'fetched'
1069 name: 'Building/fetching previous CI target: mathcomp-boot'
1070 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1071 "rocq-9.2" --argstr job "mathcomp-boot"
1072 - if: steps.stepCheck.outputs.status != 'fetched'
1073 name: 'Building/fetching previous CI target: hierarchy-builder'
1074 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1075 "rocq-9.2" --argstr job "hierarchy-builder"
1076 - if: steps.stepCheck.outputs.status != 'fetched'
1077 name: Building/fetching current CI target
1078 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1079 "rocq-9.2" --argstr job "mathcomp-order"
1080 mathcomp-real-closed:
1081 needs:
1082 - rocq-core
1083 - mathcomp-field
1084 - mathcomp-bigenough
1085 runs-on: ubuntu-latest
1086 steps:
1087 - name: Determine which commit to initially checkout
1088 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1089 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1090 }}\" >> $GITHUB_ENV\nfi\n"
1091 - name: Git checkout
1092 uses: actions/checkout@v6
1093 with:
1094 fetch-depth: 0
1095 ref: ${{ env.target_commit }}
1096 - name: Determine which commit to test
1097 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1098 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1099 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1100 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1101 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1102 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1103 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1104 \ fi\nfi\n"
1105 - name: Git checkout
1106 uses: actions/checkout@v6
1107 with:
1108 fetch-depth: 0
1109 ref: ${{ env.tested_commit }}
1110 - name: Cachix install
1111 uses: cachix/install-nix-action@v31
1112 with:
1113 nix_path: nixpkgs=channel:nixpkgs-unstable
1114 - name: Cachix setup coq-elpi
1115 uses: cachix/cachix-action@v16
1116 with:
1117 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1118 extraPullNames: coq, coq-community, math-comp
1119 name: coq-elpi
1120 - id: stepGetDerivation
1121 name: Getting derivation for current job (mathcomp-real-closed)
1122 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1123 \"rocq-9.2\" --argstr job \"mathcomp-real-closed\" \\\n --dry-run 2> err
1124 > out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
1125 getting derivation failed\"; exit 1; fi\n"
1126 - id: stepCheck
1127 name: Checking presence of CI target for current job
1128 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1129 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1130 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1131 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1132 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1133 - if: steps.stepCheck.outputs.status != 'fetched'
1134 name: 'Building/fetching previous CI target: rocq-core'
1135 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1136 "rocq-9.2" --argstr job "rocq-core"
1137 - if: steps.stepCheck.outputs.status != 'fetched'
1138 name: 'Building/fetching previous CI target: mathcomp-field'
1139 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1140 "rocq-9.2" --argstr job "mathcomp-field"
1141 - if: steps.stepCheck.outputs.status != 'fetched'
1142 name: 'Building/fetching previous CI target: mathcomp-bigenough'
1143 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1144 "rocq-9.2" --argstr job "mathcomp-bigenough"
1145 - if: steps.stepCheck.outputs.status != 'fetched'
1146 name: Building/fetching current CI target
1147 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1148 "rocq-9.2" --argstr job "mathcomp-real-closed"
1149 mathcomp-reals:
1150 needs:
1151 - rocq-core
1152 - mathcomp-classical
1153 runs-on: ubuntu-latest
1154 steps:
1155 - name: Determine which commit to initially checkout
1156 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1157 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1158 }}\" >> $GITHUB_ENV\nfi\n"
1159 - name: Git checkout
1160 uses: actions/checkout@v6
1161 with:
1162 fetch-depth: 0
1163 ref: ${{ env.target_commit }}
1164 - name: Determine which commit to test
1165 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1166 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1167 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1168 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1169 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1170 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1171 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1172 \ fi\nfi\n"
1173 - name: Git checkout
1174 uses: actions/checkout@v6
1175 with:
1176 fetch-depth: 0
1177 ref: ${{ env.tested_commit }}
1178 - name: Cachix install
1179 uses: cachix/install-nix-action@v31
1180 with:
1181 nix_path: nixpkgs=channel:nixpkgs-unstable
1182 - name: Cachix setup coq-elpi
1183 uses: cachix/cachix-action@v16
1184 with:
1185 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1186 extraPullNames: coq, coq-community, math-comp
1187 name: coq-elpi
1188 - id: stepGetDerivation
1189 name: Getting derivation for current job (mathcomp-reals)
1190 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1191 \"rocq-9.2\" --argstr job \"mathcomp-reals\" \\\n --dry-run 2> err > out
1192 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
1193 derivation failed\"; exit 1; fi\n"
1194 - id: stepCheck
1195 name: Checking presence of CI target for current job
1196 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1197 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1198 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1199 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1200 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1201 - if: steps.stepCheck.outputs.status != 'fetched'
1202 name: 'Building/fetching previous CI target: rocq-core'
1203 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1204 "rocq-9.2" --argstr job "rocq-core"
1205 - if: steps.stepCheck.outputs.status != 'fetched'
1206 name: 'Building/fetching previous CI target: mathcomp-classical'
1207 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1208 "rocq-9.2" --argstr job "mathcomp-classical"
1209 - if: steps.stepCheck.outputs.status != 'fetched'
1210 name: Building/fetching current CI target
1211 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1212 "rocq-9.2" --argstr job "mathcomp-reals"
1213 mathcomp-solvable:
1214 needs:
1215 - rocq-core
1216 - mathcomp-algebra
1217 - hierarchy-builder
1218 runs-on: ubuntu-latest
1219 steps:
1220 - name: Determine which commit to initially checkout
1221 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1222 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1223 }}\" >> $GITHUB_ENV\nfi\n"
1224 - name: Git checkout
1225 uses: actions/checkout@v6
1226 with:
1227 fetch-depth: 0
1228 ref: ${{ env.target_commit }}
1229 - name: Determine which commit to test
1230 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1231 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1232 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1233 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1234 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1235 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1236 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1237 \ fi\nfi\n"
1238 - name: Git checkout
1239 uses: actions/checkout@v6
1240 with:
1241 fetch-depth: 0
1242 ref: ${{ env.tested_commit }}
1243 - name: Cachix install
1244 uses: cachix/install-nix-action@v31
1245 with:
1246 nix_path: nixpkgs=channel:nixpkgs-unstable
1247 - name: Cachix setup coq-elpi
1248 uses: cachix/cachix-action@v16
1249 with:
1250 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1251 extraPullNames: coq, coq-community, math-comp
1252 name: coq-elpi
1253 - id: stepGetDerivation
1254 name: Getting derivation for current job (mathcomp-solvable)
1255 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1256 \"rocq-9.2\" --argstr job \"mathcomp-solvable\" \\\n --dry-run 2> err >
1257 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
1258 getting derivation failed\"; exit 1; fi\n"
1259 - id: stepCheck
1260 name: Checking presence of CI target for current job
1261 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1262 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1263 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1264 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1265 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1266 - if: steps.stepCheck.outputs.status != 'fetched'
1267 name: 'Building/fetching previous CI target: rocq-core'
1268 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1269 "rocq-9.2" --argstr job "rocq-core"
1270 - if: steps.stepCheck.outputs.status != 'fetched'
1271 name: 'Building/fetching previous CI target: mathcomp-algebra'
1272 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1273 "rocq-9.2" --argstr job "mathcomp-algebra"
1274 - if: steps.stepCheck.outputs.status != 'fetched'
1275 name: 'Building/fetching previous CI target: hierarchy-builder'
1276 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1277 "rocq-9.2" --argstr job "hierarchy-builder"
1278 - if: steps.stepCheck.outputs.status != 'fetched'
1279 name: Building/fetching current CI target
1280 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1281 "rocq-9.2" --argstr job "mathcomp-solvable"
1282 mathcomp-ssreflect:
1283 needs:
1284 - coq
1285 - mathcomp-boot
1286 - mathcomp-order
1287 runs-on: ubuntu-latest
1288 steps:
1289 - name: Determine which commit to initially checkout
1290 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1291 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1292 }}\" >> $GITHUB_ENV\nfi\n"
1293 - name: Git checkout
1294 uses: actions/checkout@v6
1295 with:
1296 fetch-depth: 0
1297 ref: ${{ env.target_commit }}
1298 - name: Determine which commit to test
1299 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1300 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1301 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1302 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1303 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1304 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1305 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1306 \ fi\nfi\n"
1307 - name: Git checkout
1308 uses: actions/checkout@v6
1309 with:
1310 fetch-depth: 0
1311 ref: ${{ env.tested_commit }}
1312 - name: Cachix install
1313 uses: cachix/install-nix-action@v31
1314 with:
1315 nix_path: nixpkgs=channel:nixpkgs-unstable
1316 - name: Cachix setup coq-elpi
1317 uses: cachix/cachix-action@v16
1318 with:
1319 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1320 extraPullNames: coq, coq-community, math-comp
1321 name: coq-elpi
1322 - id: stepGetDerivation
1323 name: Getting derivation for current job (mathcomp-ssreflect)
1324 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1325 \"rocq-9.2\" --argstr job \"mathcomp-ssreflect\" \\\n --dry-run 2> err >
1326 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
1327 getting derivation failed\"; exit 1; fi\n"
1328 - id: stepCheck
1329 name: Checking presence of CI target for current job
1330 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1331 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1332 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1333 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1334 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1335 - if: steps.stepCheck.outputs.status != 'fetched'
1336 name: 'Building/fetching previous CI target: coq'
1337 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1338 "rocq-9.2" --argstr job "coq"
1339 - if: steps.stepCheck.outputs.status != 'fetched'
1340 name: 'Building/fetching previous CI target: mathcomp-boot'
1341 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1342 "rocq-9.2" --argstr job "mathcomp-boot"
1343 - if: steps.stepCheck.outputs.status != 'fetched'
1344 name: 'Building/fetching previous CI target: mathcomp-order'
1345 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1346 "rocq-9.2" --argstr job "mathcomp-order"
1347 - if: steps.stepCheck.outputs.status != 'fetched'
1348 name: Building/fetching current CI target
1349 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1350 "rocq-9.2" --argstr job "mathcomp-ssreflect"
1351 mathcomp-word:
1352 needs:
1353 - coq
1354 - mathcomp-algebra
1355 - mathcomp-ssreflect
1356 - mathcomp-fingroup
1357 - stdlib
1358 runs-on: ubuntu-latest
1359 steps:
1360 - name: Determine which commit to initially checkout
1361 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1362 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1363 }}\" >> $GITHUB_ENV\nfi\n"
1364 - name: Git checkout
1365 uses: actions/checkout@v6
1366 with:
1367 fetch-depth: 0
1368 ref: ${{ env.target_commit }}
1369 - name: Determine which commit to test
1370 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1371 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1372 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1373 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1374 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1375 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1376 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1377 \ fi\nfi\n"
1378 - name: Git checkout
1379 uses: actions/checkout@v6
1380 with:
1381 fetch-depth: 0
1382 ref: ${{ env.tested_commit }}
1383 - name: Cachix install
1384 uses: cachix/install-nix-action@v31
1385 with:
1386 nix_path: nixpkgs=channel:nixpkgs-unstable
1387 - name: Cachix setup coq-elpi
1388 uses: cachix/cachix-action@v16
1389 with:
1390 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1391 extraPullNames: coq, coq-community, math-comp
1392 name: coq-elpi
1393 - id: stepGetDerivation
1394 name: Getting derivation for current job (mathcomp-word)
1395 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1396 \"rocq-9.2\" --argstr job \"mathcomp-word\" \\\n --dry-run 2> err > out
1397 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
1398 derivation failed\"; exit 1; fi\n"
1399 - id: stepCheck
1400 name: Checking presence of CI target for current job
1401 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1402 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1403 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1404 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1405 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1406 - if: steps.stepCheck.outputs.status != 'fetched'
1407 name: 'Building/fetching previous CI target: coq'
1408 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1409 "rocq-9.2" --argstr job "coq"
1410 - if: steps.stepCheck.outputs.status != 'fetched'
1411 name: 'Building/fetching previous CI target: mathcomp-algebra'
1412 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1413 "rocq-9.2" --argstr job "mathcomp-algebra"
1414 - if: steps.stepCheck.outputs.status != 'fetched'
1415 name: 'Building/fetching previous CI target: mathcomp-ssreflect'
1416 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1417 "rocq-9.2" --argstr job "mathcomp-ssreflect"
1418 - if: steps.stepCheck.outputs.status != 'fetched'
1419 name: 'Building/fetching previous CI target: mathcomp-fingroup'
1420 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1421 "rocq-9.2" --argstr job "mathcomp-fingroup"
1422 - if: steps.stepCheck.outputs.status != 'fetched'
1423 name: 'Building/fetching previous CI target: stdlib'
1424 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1425 "rocq-9.2" --argstr job "stdlib"
1426 - if: steps.stepCheck.outputs.status != 'fetched'
1427 name: Building/fetching current CI target
1428 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1429 "rocq-9.2" --argstr job "mathcomp-word"
1430 multinomials:
1431 needs:
1432 - coq
1433 - mathcomp-boot
1434 - mathcomp-algebra
1435 - mathcomp-finmap
1436 - mathcomp-fingroup
1437 - mathcomp-bigenough
1438 runs-on: ubuntu-latest
1439 steps:
1440 - name: Determine which commit to initially checkout
1441 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1442 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1443 }}\" >> $GITHUB_ENV\nfi\n"
1444 - name: Git checkout
1445 uses: actions/checkout@v6
1446 with:
1447 fetch-depth: 0
1448 ref: ${{ env.target_commit }}
1449 - name: Determine which commit to test
1450 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1451 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1452 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1453 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1454 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1455 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1456 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1457 \ fi\nfi\n"
1458 - name: Git checkout
1459 uses: actions/checkout@v6
1460 with:
1461 fetch-depth: 0
1462 ref: ${{ env.tested_commit }}
1463 - name: Cachix install
1464 uses: cachix/install-nix-action@v31
1465 with:
1466 nix_path: nixpkgs=channel:nixpkgs-unstable
1467 - name: Cachix setup coq-elpi
1468 uses: cachix/cachix-action@v16
1469 with:
1470 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1471 extraPullNames: coq, coq-community, math-comp
1472 name: coq-elpi
1473 - id: stepGetDerivation
1474 name: Getting derivation for current job (multinomials)
1475 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1476 \"rocq-9.2\" --argstr job \"multinomials\" \\\n --dry-run 2> err > out ||
1477 (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
1478 derivation failed\"; exit 1; fi\n"
1479 - id: stepCheck
1480 name: Checking presence of CI target for current job
1481 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1482 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1483 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1484 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1485 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1486 - if: steps.stepCheck.outputs.status != 'fetched'
1487 name: 'Building/fetching previous CI target: coq'
1488 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1489 "rocq-9.2" --argstr job "coq"
1490 - if: steps.stepCheck.outputs.status != 'fetched'
1491 name: 'Building/fetching previous CI target: mathcomp-boot'
1492 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1493 "rocq-9.2" --argstr job "mathcomp-boot"
1494 - if: steps.stepCheck.outputs.status != 'fetched'
1495 name: 'Building/fetching previous CI target: mathcomp-algebra'
1496 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1497 "rocq-9.2" --argstr job "mathcomp-algebra"
1498 - if: steps.stepCheck.outputs.status != 'fetched'
1499 name: 'Building/fetching previous CI target: mathcomp-finmap'
1500 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1501 "rocq-9.2" --argstr job "mathcomp-finmap"
1502 - if: steps.stepCheck.outputs.status != 'fetched'
1503 name: 'Building/fetching previous CI target: mathcomp-fingroup'
1504 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1505 "rocq-9.2" --argstr job "mathcomp-fingroup"
1506 - if: steps.stepCheck.outputs.status != 'fetched'
1507 name: 'Building/fetching previous CI target: mathcomp-bigenough'
1508 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1509 "rocq-9.2" --argstr job "mathcomp-bigenough"
1510 - if: steps.stepCheck.outputs.status != 'fetched'
1511 name: Building/fetching current CI target
1512 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1513 "rocq-9.2" --argstr job "multinomials"
1514 odd-order:
1515 needs:
1516 - coq
1517 - mathcomp-character
1518 runs-on: ubuntu-latest
1519 steps:
1520 - name: Determine which commit to initially checkout
1521 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1522 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1523 }}\" >> $GITHUB_ENV\nfi\n"
1524 - name: Git checkout
1525 uses: actions/checkout@v6
1526 with:
1527 fetch-depth: 0
1528 ref: ${{ env.target_commit }}
1529 - name: Determine which commit to test
1530 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1531 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1532 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1533 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1534 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1535 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1536 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1537 \ fi\nfi\n"
1538 - name: Git checkout
1539 uses: actions/checkout@v6
1540 with:
1541 fetch-depth: 0
1542 ref: ${{ env.tested_commit }}
1543 - name: Cachix install
1544 uses: cachix/install-nix-action@v31
1545 with:
1546 nix_path: nixpkgs=channel:nixpkgs-unstable
1547 - name: Cachix setup coq-elpi
1548 uses: cachix/cachix-action@v16
1549 with:
1550 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1551 extraPullNames: coq, coq-community, math-comp
1552 name: coq-elpi
1553 - id: stepGetDerivation
1554 name: Getting derivation for current job (odd-order)
1555 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1556 \"rocq-9.2\" --argstr job \"odd-order\" \\\n --dry-run 2> err > out || (touch
1557 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
1558 failed\"; exit 1; fi\n"
1559 - id: stepCheck
1560 name: Checking presence of CI target for current job
1561 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1562 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1563 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1564 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1565 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1566 - if: steps.stepCheck.outputs.status != 'fetched'
1567 name: 'Building/fetching previous CI target: coq'
1568 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1569 "rocq-9.2" --argstr job "coq"
1570 - if: steps.stepCheck.outputs.status != 'fetched'
1571 name: 'Building/fetching previous CI target: mathcomp-character'
1572 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1573 "rocq-9.2" --argstr job "mathcomp-character"
1574 - if: steps.stepCheck.outputs.status != 'fetched'
1575 name: Building/fetching current CI target
1576 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1577 "rocq-9.2" --argstr job "odd-order"
1578 rocq-core:
1579 needs: []
1580 runs-on: ubuntu-latest
1581 steps:
1582 - name: Determine which commit to initially checkout
1583 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1584 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1585 }}\" >> $GITHUB_ENV\nfi\n"
1586 - name: Git checkout
1587 uses: actions/checkout@v6
1588 with:
1589 fetch-depth: 0
1590 ref: ${{ env.target_commit }}
1591 - name: Determine which commit to test
1592 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1593 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1594 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1595 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1596 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1597 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1598 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1599 \ fi\nfi\n"
1600 - name: Git checkout
1601 uses: actions/checkout@v6
1602 with:
1603 fetch-depth: 0
1604 ref: ${{ env.tested_commit }}
1605 - name: Cachix install
1606 uses: cachix/install-nix-action@v31
1607 with:
1608 nix_path: nixpkgs=channel:nixpkgs-unstable
1609 - name: Cachix setup coq-elpi
1610 uses: cachix/cachix-action@v16
1611 with:
1612 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1613 extraPullNames: coq, coq-community, math-comp
1614 name: coq-elpi
1615 - id: stepGetDerivation
1616 name: Getting derivation for current job (rocq-core)
1617 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1618 \"rocq-9.2\" --argstr job \"rocq-core\" \\\n --dry-run 2> err > out || (touch
1619 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
1620 failed\"; exit 1; fi\n"
1621 - id: stepCheck
1622 name: Checking presence of CI target for current job
1623 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1624 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1625 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1626 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1627 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1628 - if: steps.stepCheck.outputs.status != 'fetched'
1629 name: Building/fetching current CI target
1630 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1631 "rocq-9.2" --argstr job "rocq-core"
1632 rocq-elpi:
1633 needs: []
1634 runs-on: ubuntu-latest
1635 steps:
1636 - name: Determine which commit to initially checkout
1637 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1638 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1639 }}\" >> $GITHUB_ENV\nfi\n"
1640 - name: Git checkout
1641 uses: actions/checkout@v6
1642 with:
1643 fetch-depth: 0
1644 ref: ${{ env.target_commit }}
1645 - name: Determine which commit to test
1646 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1647 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1648 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1649 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1650 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1651 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1652 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1653 \ fi\nfi\n"
1654 - name: Git checkout
1655 uses: actions/checkout@v6
1656 with:
1657 fetch-depth: 0
1658 ref: ${{ env.tested_commit }}
1659 - name: Cachix install
1660 uses: cachix/install-nix-action@v31
1661 with:
1662 nix_path: nixpkgs=channel:nixpkgs-unstable
1663 - name: Cachix setup coq-elpi
1664 uses: cachix/cachix-action@v16
1665 with:
1666 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1667 extraPullNames: coq, coq-community, math-comp
1668 name: coq-elpi
1669 - id: stepGetDerivation
1670 name: Getting derivation for current job (rocq-elpi)
1671 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1672 \"rocq-9.2\" --argstr job \"rocq-elpi\" \\\n --dry-run 2> err > out || (touch
1673 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
1674 failed\"; exit 1; fi\n"
1675 - id: stepCheck
1676 name: Checking presence of CI target for current job
1677 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1678 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1679 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1680 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1681 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1682 - if: steps.stepCheck.outputs.status != 'fetched'
1683 name: Building/fetching current CI target
1684 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1685 "rocq-9.2" --argstr job "rocq-elpi"
1686 rocq-elpi-tests:
1687 needs:
1688 - rocq-core
1689 runs-on: ubuntu-latest
1690 steps:
1691 - name: Determine which commit to initially checkout
1692 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1693 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1694 }}\" >> $GITHUB_ENV\nfi\n"
1695 - name: Git checkout
1696 uses: actions/checkout@v6
1697 with:
1698 fetch-depth: 0
1699 ref: ${{ env.target_commit }}
1700 - name: Determine which commit to test
1701 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1702 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1703 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1704 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1705 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1706 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1707 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1708 \ fi\nfi\n"
1709 - name: Git checkout
1710 uses: actions/checkout@v6
1711 with:
1712 fetch-depth: 0
1713 ref: ${{ env.tested_commit }}
1714 - name: Cachix install
1715 uses: cachix/install-nix-action@v31
1716 with:
1717 nix_path: nixpkgs=channel:nixpkgs-unstable
1718 - name: Cachix setup coq-elpi
1719 uses: cachix/cachix-action@v16
1720 with:
1721 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1722 extraPullNames: coq, coq-community, math-comp
1723 name: coq-elpi
1724 - id: stepGetDerivation
1725 name: Getting derivation for current job (rocq-elpi-tests)
1726 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1727 \"rocq-9.2\" --argstr job \"rocq-elpi-tests\" \\\n --dry-run 2> err > out
1728 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
1729 derivation failed\"; exit 1; fi\n"
1730 - id: stepCheck
1731 name: Checking presence of CI target for current job
1732 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1733 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1734 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1735 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1736 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1737 - if: steps.stepCheck.outputs.status != 'fetched'
1738 name: 'Building/fetching previous CI target: rocq-core'
1739 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1740 "rocq-9.2" --argstr job "rocq-core"
1741 - if: steps.stepCheck.outputs.status != 'fetched'
1742 name: Building/fetching current CI target
1743 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1744 "rocq-9.2" --argstr job "rocq-elpi-tests"
1745 rocq-elpi-tests-stdlib:
1746 needs:
1747 - rocq-core
1748 - stdlib
1749 runs-on: ubuntu-latest
1750 steps:
1751 - name: Determine which commit to initially checkout
1752 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1753 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1754 }}\" >> $GITHUB_ENV\nfi\n"
1755 - name: Git checkout
1756 uses: actions/checkout@v6
1757 with:
1758 fetch-depth: 0
1759 ref: ${{ env.target_commit }}
1760 - name: Determine which commit to test
1761 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1762 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1763 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1764 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1765 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1766 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1767 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1768 \ fi\nfi\n"
1769 - name: Git checkout
1770 uses: actions/checkout@v6
1771 with:
1772 fetch-depth: 0
1773 ref: ${{ env.tested_commit }}
1774 - name: Cachix install
1775 uses: cachix/install-nix-action@v31
1776 with:
1777 nix_path: nixpkgs=channel:nixpkgs-unstable
1778 - name: Cachix setup coq-elpi
1779 uses: cachix/cachix-action@v16
1780 with:
1781 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1782 extraPullNames: coq, coq-community, math-comp
1783 name: coq-elpi
1784 - id: stepGetDerivation
1785 name: Getting derivation for current job (rocq-elpi-tests-stdlib)
1786 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1787 \"rocq-9.2\" --argstr job \"rocq-elpi-tests-stdlib\" \\\n --dry-run 2> err
1788 > out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
1789 getting derivation failed\"; exit 1; fi\n"
1790 - id: stepCheck
1791 name: Checking presence of CI target for current job
1792 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1793 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1794 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1795 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1796 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1797 - if: steps.stepCheck.outputs.status != 'fetched'
1798 name: 'Building/fetching previous CI target: rocq-core'
1799 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1800 "rocq-9.2" --argstr job "rocq-core"
1801 - if: steps.stepCheck.outputs.status != 'fetched'
1802 name: 'Building/fetching previous CI target: stdlib'
1803 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1804 "rocq-9.2" --argstr job "stdlib"
1805 - if: steps.stepCheck.outputs.status != 'fetched'
1806 name: Building/fetching current CI target
1807 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1808 "rocq-9.2" --argstr job "rocq-elpi-tests-stdlib"
1809 stdlib:
1810 needs:
1811 - rocq-core
1812 runs-on: ubuntu-latest
1813 steps:
1814 - name: Determine which commit to initially checkout
1815 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1816 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1817 }}\" >> $GITHUB_ENV\nfi\n"
1818 - name: Git checkout
1819 uses: actions/checkout@v6
1820 with:
1821 fetch-depth: 0
1822 ref: ${{ env.target_commit }}
1823 - name: Determine which commit to test
1824 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1825 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1826 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1827 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1828 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1829 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1830 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1831 \ fi\nfi\n"
1832 - name: Git checkout
1833 uses: actions/checkout@v6
1834 with:
1835 fetch-depth: 0
1836 ref: ${{ env.tested_commit }}
1837 - name: Cachix install
1838 uses: cachix/install-nix-action@v31
1839 with:
1840 nix_path: nixpkgs=channel:nixpkgs-unstable
1841 - name: Cachix setup coq-elpi
1842 uses: cachix/cachix-action@v16
1843 with:
1844 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1845 extraPullNames: coq, coq-community, math-comp
1846 name: coq-elpi
1847 - id: stepGetDerivation
1848 name: Getting derivation for current job (stdlib)
1849 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1850 \"rocq-9.2\" --argstr job \"stdlib\" \\\n --dry-run 2> err > out || (touch
1851 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
1852 failed\"; exit 1; fi\n"
1853 - id: stepCheck
1854 name: Checking presence of CI target for current job
1855 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1856 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1857 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1858 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1859 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1860 - if: steps.stepCheck.outputs.status != 'fetched'
1861 name: 'Building/fetching previous CI target: rocq-core'
1862 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1863 "rocq-9.2" --argstr job "rocq-core"
1864 - if: steps.stepCheck.outputs.status != 'fetched'
1865 name: Building/fetching current CI target
1866 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1867 "rocq-9.2" --argstr job "stdlib"
1868 trakt:
1869 needs:
1870 - coq
1871 - coq-elpi
1872 - stdlib
1873 runs-on: ubuntu-latest
1874 steps:
1875 - name: Determine which commit to initially checkout
1876 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1877 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1878 }}\" >> $GITHUB_ENV\nfi\n"
1879 - name: Git checkout
1880 uses: actions/checkout@v6
1881 with:
1882 fetch-depth: 0
1883 ref: ${{ env.target_commit }}
1884 - name: Determine which commit to test
1885 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1886 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1887 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1888 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1889 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1890 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1891 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1892 \ fi\nfi\n"
1893 - name: Git checkout
1894 uses: actions/checkout@v6
1895 with:
1896 fetch-depth: 0
1897 ref: ${{ env.tested_commit }}
1898 - name: Cachix install
1899 uses: cachix/install-nix-action@v31
1900 with:
1901 nix_path: nixpkgs=channel:nixpkgs-unstable
1902 - name: Cachix setup coq-elpi
1903 uses: cachix/cachix-action@v16
1904 with:
1905 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1906 extraPullNames: coq, coq-community, math-comp
1907 name: coq-elpi
1908 - id: stepGetDerivation
1909 name: Getting derivation for current job (trakt)
1910 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1911 \"rocq-9.2\" --argstr job \"trakt\" \\\n --dry-run 2> err > out || (touch
1912 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
1913 failed\"; exit 1; fi\n"
1914 - id: stepCheck
1915 name: Checking presence of CI target for current job
1916 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1917 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1918 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1919 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1920 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1921 - if: steps.stepCheck.outputs.status != 'fetched'
1922 name: 'Building/fetching previous CI target: coq'
1923 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1924 "rocq-9.2" --argstr job "coq"
1925 - if: steps.stepCheck.outputs.status != 'fetched'
1926 name: 'Building/fetching previous CI target: coq-elpi'
1927 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1928 "rocq-9.2" --argstr job "coq-elpi"
1929 - if: steps.stepCheck.outputs.status != 'fetched'
1930 name: 'Building/fetching previous CI target: stdlib'
1931 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1932 "rocq-9.2" --argstr job "stdlib"
1933 - if: steps.stepCheck.outputs.status != 'fetched'
1934 name: Building/fetching current CI target
1935 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1936 "rocq-9.2" --argstr job "trakt"
1937 name: Nix CI for bundle rocq-9.2
1938 on:
1939 pull_request:
1940 paths:
1941 - .github/workflows/nix-action-rocq-9.2.yml
1942 pull_request_target:
1943 paths-ignore:
1944 - .github/workflows/nix-action-rocq-9.2.yml
1945 types:
1946 - opened
1947 - synchronize
1948 - reopened
1949 push:
1950 branches:
1951 - master