Debian Codegraph @

.github/workflows/nix-action-rocq-9.1.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.1\" --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.1" --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.1" --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.1" --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.1\" --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.1" --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.1" --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.1\" --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.1" --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.1" --argstr job "coq-elpi"
184 coqeal:
185 needs:
186 - coq
187 - mathcomp-ssreflect
188 - mathcomp-algebra
189 - bignums
190 - multinomials
191 - mathcomp-real-closed
192 runs-on: ubuntu-latest
193 steps:
194 - name: Determine which commit to initially checkout
195 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
196 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
197 }}\" >> $GITHUB_ENV\nfi\n"
198 - name: Git checkout
199 uses: actions/checkout@v6
200 with:
201 fetch-depth: 0
202 ref: ${{ env.target_commit }}
203 - name: Determine which commit to test
204 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
205 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
206 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
207 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
208 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
209 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
210 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
211 \ fi\nfi\n"
212 - name: Git checkout
213 uses: actions/checkout@v6
214 with:
215 fetch-depth: 0
216 ref: ${{ env.tested_commit }}
217 - name: Cachix install
218 uses: cachix/install-nix-action@v31
219 with:
220 nix_path: nixpkgs=channel:nixpkgs-unstable
221 - name: Cachix setup coq-elpi
222 uses: cachix/cachix-action@v16
223 with:
224 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
225 extraPullNames: coq, coq-community, math-comp
226 name: coq-elpi
227 - id: stepGetDerivation
228 name: Getting derivation for current job (coqeal)
229 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
230 \"rocq-9.1\" --argstr job \"coqeal\" \\\n --dry-run 2> err > out || (touch
231 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
232 failed\"; exit 1; fi\n"
233 - id: stepCheck
234 name: Checking presence of CI target for current job
235 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
236 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
237 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
238 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
239 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
240 - if: steps.stepCheck.outputs.status != 'fetched'
241 name: 'Building/fetching previous CI target: coq'
242 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
243 "rocq-9.1" --argstr job "coq"
244 - if: steps.stepCheck.outputs.status != 'fetched'
245 name: 'Building/fetching previous CI target: mathcomp-ssreflect'
246 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
247 "rocq-9.1" --argstr job "mathcomp-ssreflect"
248 - if: steps.stepCheck.outputs.status != 'fetched'
249 name: 'Building/fetching previous CI target: mathcomp-algebra'
250 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
251 "rocq-9.1" --argstr job "mathcomp-algebra"
252 - if: steps.stepCheck.outputs.status != 'fetched'
253 name: 'Building/fetching previous CI target: bignums'
254 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
255 "rocq-9.1" --argstr job "bignums"
256 - if: steps.stepCheck.outputs.status != 'fetched'
257 name: 'Building/fetching previous CI target: multinomials'
258 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
259 "rocq-9.1" --argstr job "multinomials"
260 - if: steps.stepCheck.outputs.status != 'fetched'
261 name: 'Building/fetching previous CI target: mathcomp-real-closed'
262 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
263 "rocq-9.1" --argstr job "mathcomp-real-closed"
264 - if: steps.stepCheck.outputs.status != 'fetched'
265 name: Building/fetching current CI target
266 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
267 "rocq-9.1" --argstr job "coqeal"
268 hierarchy-builder:
269 needs:
270 - rocq-core
271 - coq-elpi
272 runs-on: ubuntu-latest
273 steps:
274 - name: Determine which commit to initially checkout
275 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
276 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
277 }}\" >> $GITHUB_ENV\nfi\n"
278 - name: Git checkout
279 uses: actions/checkout@v6
280 with:
281 fetch-depth: 0
282 ref: ${{ env.target_commit }}
283 - name: Determine which commit to test
284 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
285 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
286 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
287 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
288 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
289 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
290 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
291 \ fi\nfi\n"
292 - name: Git checkout
293 uses: actions/checkout@v6
294 with:
295 fetch-depth: 0
296 ref: ${{ env.tested_commit }}
297 - name: Cachix install
298 uses: cachix/install-nix-action@v31
299 with:
300 nix_path: nixpkgs=channel:nixpkgs-unstable
301 - name: Cachix setup coq-elpi
302 uses: cachix/cachix-action@v16
303 with:
304 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
305 extraPullNames: coq, coq-community, math-comp
306 name: coq-elpi
307 - id: stepGetDerivation
308 name: Getting derivation for current job (hierarchy-builder)
309 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
310 \"rocq-9.1\" --argstr job \"hierarchy-builder\" \\\n --dry-run 2> err >
311 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
312 getting derivation failed\"; exit 1; fi\n"
313 - id: stepCheck
314 name: Checking presence of CI target for current job
315 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
316 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
317 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
318 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
319 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
320 - if: steps.stepCheck.outputs.status != 'fetched'
321 name: 'Building/fetching previous CI target: rocq-core'
322 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
323 "rocq-9.1" --argstr job "rocq-core"
324 - if: steps.stepCheck.outputs.status != 'fetched'
325 name: 'Building/fetching previous CI target: coq-elpi'
326 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
327 "rocq-9.1" --argstr job "coq-elpi"
328 - if: steps.stepCheck.outputs.status != 'fetched'
329 name: Building/fetching current CI target
330 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
331 "rocq-9.1" --argstr job "hierarchy-builder"
332 jasmin:
333 needs:
334 - coq
335 - mathcomp-word
336 runs-on: ubuntu-latest
337 steps:
338 - name: Determine which commit to initially checkout
339 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
340 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
341 }}\" >> $GITHUB_ENV\nfi\n"
342 - name: Git checkout
343 uses: actions/checkout@v6
344 with:
345 fetch-depth: 0
346 ref: ${{ env.target_commit }}
347 - name: Determine which commit to test
348 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
349 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
350 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
351 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
352 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
353 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
354 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
355 \ fi\nfi\n"
356 - name: Git checkout
357 uses: actions/checkout@v6
358 with:
359 fetch-depth: 0
360 ref: ${{ env.tested_commit }}
361 - name: Cachix install
362 uses: cachix/install-nix-action@v31
363 with:
364 nix_path: nixpkgs=channel:nixpkgs-unstable
365 - name: Cachix setup coq-elpi
366 uses: cachix/cachix-action@v16
367 with:
368 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
369 extraPullNames: coq, coq-community, math-comp
370 name: coq-elpi
371 - id: stepGetDerivation
372 name: Getting derivation for current job (jasmin)
373 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
374 \"rocq-9.1\" --argstr job \"jasmin\" \\\n --dry-run 2> err > out || (touch
375 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
376 failed\"; exit 1; fi\n"
377 - id: stepCheck
378 name: Checking presence of CI target for current job
379 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
380 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
381 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
382 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
383 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
384 - if: steps.stepCheck.outputs.status != 'fetched'
385 name: 'Building/fetching previous CI target: coq'
386 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
387 "rocq-9.1" --argstr job "coq"
388 - if: steps.stepCheck.outputs.status != 'fetched'
389 name: 'Building/fetching previous CI target: mathcomp-word'
390 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
391 "rocq-9.1" --argstr job "mathcomp-word"
392 - if: steps.stepCheck.outputs.status != 'fetched'
393 name: 'Building/fetching previous CI target: ITree'
394 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
395 "rocq-9.1" --argstr job "ITree"
396 - if: steps.stepCheck.outputs.status != 'fetched'
397 name: Building/fetching current CI target
398 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
399 "rocq-9.1" --argstr job "jasmin"
400 mathcomp:
401 needs:
402 - rocq-core
403 - mathcomp-character
404 - hierarchy-builder
405 runs-on: ubuntu-latest
406 steps:
407 - name: Determine which commit to initially checkout
408 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
409 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
410 }}\" >> $GITHUB_ENV\nfi\n"
411 - name: Git checkout
412 uses: actions/checkout@v6
413 with:
414 fetch-depth: 0
415 ref: ${{ env.target_commit }}
416 - name: Determine which commit to test
417 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
418 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
419 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
420 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
421 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
422 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
423 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
424 \ fi\nfi\n"
425 - name: Git checkout
426 uses: actions/checkout@v6
427 with:
428 fetch-depth: 0
429 ref: ${{ env.tested_commit }}
430 - name: Cachix install
431 uses: cachix/install-nix-action@v31
432 with:
433 nix_path: nixpkgs=channel:nixpkgs-unstable
434 - name: Cachix setup coq-elpi
435 uses: cachix/cachix-action@v16
436 with:
437 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
438 extraPullNames: coq, coq-community, math-comp
439 name: coq-elpi
440 - id: stepGetDerivation
441 name: Getting derivation for current job (mathcomp)
442 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
443 \"rocq-9.1\" --argstr job \"mathcomp\" \\\n --dry-run 2> err > out || (touch
444 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
445 failed\"; exit 1; fi\n"
446 - id: stepCheck
447 name: Checking presence of CI target for current job
448 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
449 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
450 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
451 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
452 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
453 - if: steps.stepCheck.outputs.status != 'fetched'
454 name: 'Building/fetching previous CI target: rocq-core'
455 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
456 "rocq-9.1" --argstr job "rocq-core"
457 - if: steps.stepCheck.outputs.status != 'fetched'
458 name: 'Building/fetching previous CI target: mathcomp-character'
459 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
460 "rocq-9.1" --argstr job "mathcomp-character"
461 - if: steps.stepCheck.outputs.status != 'fetched'
462 name: 'Building/fetching previous CI target: hierarchy-builder'
463 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
464 "rocq-9.1" --argstr job "hierarchy-builder"
465 - if: steps.stepCheck.outputs.status != 'fetched'
466 name: Building/fetching current CI target
467 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
468 "rocq-9.1" --argstr job "mathcomp"
469 mathcomp-algebra:
470 needs:
471 - rocq-core
472 - mathcomp-order
473 - mathcomp-fingroup
474 - hierarchy-builder
475 runs-on: ubuntu-latest
476 steps:
477 - name: Determine which commit to initially checkout
478 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
479 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
480 }}\" >> $GITHUB_ENV\nfi\n"
481 - name: Git checkout
482 uses: actions/checkout@v6
483 with:
484 fetch-depth: 0
485 ref: ${{ env.target_commit }}
486 - name: Determine which commit to test
487 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
488 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
489 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
490 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
491 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
492 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
493 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
494 \ fi\nfi\n"
495 - name: Git checkout
496 uses: actions/checkout@v6
497 with:
498 fetch-depth: 0
499 ref: ${{ env.tested_commit }}
500 - name: Cachix install
501 uses: cachix/install-nix-action@v31
502 with:
503 nix_path: nixpkgs=channel:nixpkgs-unstable
504 - name: Cachix setup coq-elpi
505 uses: cachix/cachix-action@v16
506 with:
507 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
508 extraPullNames: coq, coq-community, math-comp
509 name: coq-elpi
510 - id: stepGetDerivation
511 name: Getting derivation for current job (mathcomp-algebra)
512 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
513 \"rocq-9.1\" --argstr job \"mathcomp-algebra\" \\\n --dry-run 2> err > out
514 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
515 derivation failed\"; exit 1; fi\n"
516 - id: stepCheck
517 name: Checking presence of CI target for current job
518 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
519 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
520 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
521 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
522 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
523 - if: steps.stepCheck.outputs.status != 'fetched'
524 name: 'Building/fetching previous CI target: rocq-core'
525 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
526 "rocq-9.1" --argstr job "rocq-core"
527 - if: steps.stepCheck.outputs.status != 'fetched'
528 name: 'Building/fetching previous CI target: mathcomp-order'
529 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
530 "rocq-9.1" --argstr job "mathcomp-order"
531 - if: steps.stepCheck.outputs.status != 'fetched'
532 name: 'Building/fetching previous CI target: mathcomp-fingroup'
533 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
534 "rocq-9.1" --argstr job "mathcomp-fingroup"
535 - if: steps.stepCheck.outputs.status != 'fetched'
536 name: 'Building/fetching previous CI target: hierarchy-builder'
537 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
538 "rocq-9.1" --argstr job "hierarchy-builder"
539 - if: steps.stepCheck.outputs.status != 'fetched'
540 name: 'Building/fetching previous CI target: micromega-plugin'
541 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
542 "rocq-9.1" --argstr job "micromega-plugin"
543 - if: steps.stepCheck.outputs.status != 'fetched'
544 name: Building/fetching current CI target
545 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
546 "rocq-9.1" --argstr job "mathcomp-algebra"
547 mathcomp-algebra-tactics:
548 needs:
549 - coq
550 - mathcomp-ssreflect
551 - mathcomp-algebra
552 - coq-elpi
553 - mathcomp-zify
554 runs-on: ubuntu-latest
555 steps:
556 - name: Determine which commit to initially checkout
557 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
558 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
559 }}\" >> $GITHUB_ENV\nfi\n"
560 - name: Git checkout
561 uses: actions/checkout@v6
562 with:
563 fetch-depth: 0
564 ref: ${{ env.target_commit }}
565 - name: Determine which commit to test
566 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
567 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
568 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
569 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
570 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
571 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
572 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
573 \ fi\nfi\n"
574 - name: Git checkout
575 uses: actions/checkout@v6
576 with:
577 fetch-depth: 0
578 ref: ${{ env.tested_commit }}
579 - name: Cachix install
580 uses: cachix/install-nix-action@v31
581 with:
582 nix_path: nixpkgs=channel:nixpkgs-unstable
583 - name: Cachix setup coq-elpi
584 uses: cachix/cachix-action@v16
585 with:
586 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
587 extraPullNames: coq, coq-community, math-comp
588 name: coq-elpi
589 - id: stepGetDerivation
590 name: Getting derivation for current job (mathcomp-algebra-tactics)
591 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
592 \"rocq-9.1\" --argstr job \"mathcomp-algebra-tactics\" \\\n --dry-run 2>
593 err > out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"\
594 Error: getting derivation failed\"; exit 1; fi\n"
595 - id: stepCheck
596 name: Checking presence of CI target for current job
597 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
598 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
599 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
600 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
601 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
602 - if: steps.stepCheck.outputs.status != 'fetched'
603 name: 'Building/fetching previous CI target: coq'
604 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
605 "rocq-9.1" --argstr job "coq"
606 - if: steps.stepCheck.outputs.status != 'fetched'
607 name: 'Building/fetching previous CI target: mathcomp-ssreflect'
608 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
609 "rocq-9.1" --argstr job "mathcomp-ssreflect"
610 - if: steps.stepCheck.outputs.status != 'fetched'
611 name: 'Building/fetching previous CI target: mathcomp-algebra'
612 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
613 "rocq-9.1" --argstr job "mathcomp-algebra"
614 - if: steps.stepCheck.outputs.status != 'fetched'
615 name: 'Building/fetching previous CI target: coq-elpi'
616 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
617 "rocq-9.1" --argstr job "coq-elpi"
618 - if: steps.stepCheck.outputs.status != 'fetched'
619 name: 'Building/fetching previous CI target: mathcomp-zify'
620 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
621 "rocq-9.1" --argstr job "mathcomp-zify"
622 - if: steps.stepCheck.outputs.status != 'fetched'
623 name: Building/fetching current CI target
624 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
625 "rocq-9.1" --argstr job "mathcomp-algebra-tactics"
626 mathcomp-analysis:
627 needs:
628 - rocq-core
629 - mathcomp-reals
630 - mathcomp-field
631 - mathcomp-bigenough
632 - mathcomp-real-closed
633 runs-on: ubuntu-latest
634 steps:
635 - name: Determine which commit to initially checkout
636 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
637 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
638 }}\" >> $GITHUB_ENV\nfi\n"
639 - name: Git checkout
640 uses: actions/checkout@v6
641 with:
642 fetch-depth: 0
643 ref: ${{ env.target_commit }}
644 - name: Determine which commit to test
645 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
646 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
647 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
648 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
649 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
650 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
651 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
652 \ fi\nfi\n"
653 - name: Git checkout
654 uses: actions/checkout@v6
655 with:
656 fetch-depth: 0
657 ref: ${{ env.tested_commit }}
658 - name: Cachix install
659 uses: cachix/install-nix-action@v31
660 with:
661 nix_path: nixpkgs=channel:nixpkgs-unstable
662 - name: Cachix setup coq-elpi
663 uses: cachix/cachix-action@v16
664 with:
665 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
666 extraPullNames: coq, coq-community, math-comp
667 name: coq-elpi
668 - id: stepGetDerivation
669 name: Getting derivation for current job (mathcomp-analysis)
670 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
671 \"rocq-9.1\" --argstr job \"mathcomp-analysis\" \\\n --dry-run 2> err >
672 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
673 getting derivation failed\"; exit 1; fi\n"
674 - id: stepCheck
675 name: Checking presence of CI target for current job
676 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
677 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
678 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
679 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
680 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
681 - if: steps.stepCheck.outputs.status != 'fetched'
682 name: 'Building/fetching previous CI target: rocq-core'
683 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
684 "rocq-9.1" --argstr job "rocq-core"
685 - if: steps.stepCheck.outputs.status != 'fetched'
686 name: 'Building/fetching previous CI target: mathcomp-reals'
687 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
688 "rocq-9.1" --argstr job "mathcomp-reals"
689 - if: steps.stepCheck.outputs.status != 'fetched'
690 name: 'Building/fetching previous CI target: mathcomp-field'
691 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
692 "rocq-9.1" --argstr job "mathcomp-field"
693 - if: steps.stepCheck.outputs.status != 'fetched'
694 name: 'Building/fetching previous CI target: mathcomp-bigenough'
695 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
696 "rocq-9.1" --argstr job "mathcomp-bigenough"
697 - if: steps.stepCheck.outputs.status != 'fetched'
698 name: 'Building/fetching previous CI target: mathcomp-real-closed'
699 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
700 "rocq-9.1" --argstr job "mathcomp-real-closed"
701 - if: steps.stepCheck.outputs.status != 'fetched'
702 name: Building/fetching current CI target
703 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
704 "rocq-9.1" --argstr job "mathcomp-analysis"
705 mathcomp-analysis-stdlib:
706 needs:
707 - rocq-core
708 - mathcomp-analysis
709 - mathcomp-reals-stdlib
710 - stdlib
711 runs-on: ubuntu-latest
712 steps:
713 - name: Determine which commit to initially checkout
714 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
715 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
716 }}\" >> $GITHUB_ENV\nfi\n"
717 - name: Git checkout
718 uses: actions/checkout@v6
719 with:
720 fetch-depth: 0
721 ref: ${{ env.target_commit }}
722 - name: Determine which commit to test
723 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
724 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
725 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
726 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
727 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
728 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
729 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
730 \ fi\nfi\n"
731 - name: Git checkout
732 uses: actions/checkout@v6
733 with:
734 fetch-depth: 0
735 ref: ${{ env.tested_commit }}
736 - name: Cachix install
737 uses: cachix/install-nix-action@v31
738 with:
739 nix_path: nixpkgs=channel:nixpkgs-unstable
740 - name: Cachix setup coq-elpi
741 uses: cachix/cachix-action@v16
742 with:
743 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
744 extraPullNames: coq, coq-community, math-comp
745 name: coq-elpi
746 - id: stepGetDerivation
747 name: Getting derivation for current job (mathcomp-analysis-stdlib)
748 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
749 \"rocq-9.1\" --argstr job \"mathcomp-analysis-stdlib\" \\\n --dry-run 2>
750 err > out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"\
751 Error: getting derivation failed\"; exit 1; fi\n"
752 - id: stepCheck
753 name: Checking presence of CI target for current job
754 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
755 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
756 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
757 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
758 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
759 - if: steps.stepCheck.outputs.status != 'fetched'
760 name: 'Building/fetching previous CI target: rocq-core'
761 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
762 "rocq-9.1" --argstr job "rocq-core"
763 - if: steps.stepCheck.outputs.status != 'fetched'
764 name: 'Building/fetching previous CI target: mathcomp-analysis'
765 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
766 "rocq-9.1" --argstr job "mathcomp-analysis"
767 - if: steps.stepCheck.outputs.status != 'fetched'
768 name: 'Building/fetching previous CI target: mathcomp-reals-stdlib'
769 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
770 "rocq-9.1" --argstr job "mathcomp-reals-stdlib"
771 - if: steps.stepCheck.outputs.status != 'fetched'
772 name: 'Building/fetching previous CI target: stdlib'
773 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
774 "rocq-9.1" --argstr job "stdlib"
775 - if: steps.stepCheck.outputs.status != 'fetched'
776 name: Building/fetching current CI target
777 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
778 "rocq-9.1" --argstr job "mathcomp-analysis-stdlib"
779 mathcomp-bigenough:
780 needs:
781 - rocq-core
782 - mathcomp-boot
783 runs-on: ubuntu-latest
784 steps:
785 - name: Determine which commit to initially checkout
786 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
787 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
788 }}\" >> $GITHUB_ENV\nfi\n"
789 - name: Git checkout
790 uses: actions/checkout@v6
791 with:
792 fetch-depth: 0
793 ref: ${{ env.target_commit }}
794 - name: Determine which commit to test
795 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
796 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
797 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
798 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
799 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
800 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
801 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
802 \ fi\nfi\n"
803 - name: Git checkout
804 uses: actions/checkout@v6
805 with:
806 fetch-depth: 0
807 ref: ${{ env.tested_commit }}
808 - name: Cachix install
809 uses: cachix/install-nix-action@v31
810 with:
811 nix_path: nixpkgs=channel:nixpkgs-unstable
812 - name: Cachix setup coq-elpi
813 uses: cachix/cachix-action@v16
814 with:
815 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
816 extraPullNames: coq, coq-community, math-comp
817 name: coq-elpi
818 - id: stepGetDerivation
819 name: Getting derivation for current job (mathcomp-bigenough)
820 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
821 \"rocq-9.1\" --argstr job \"mathcomp-bigenough\" \\\n --dry-run 2> err >
822 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
823 getting derivation failed\"; exit 1; fi\n"
824 - id: stepCheck
825 name: Checking presence of CI target for current job
826 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
827 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
828 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
829 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
830 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
831 - if: steps.stepCheck.outputs.status != 'fetched'
832 name: 'Building/fetching previous CI target: rocq-core'
833 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
834 "rocq-9.1" --argstr job "rocq-core"
835 - if: steps.stepCheck.outputs.status != 'fetched'
836 name: 'Building/fetching previous CI target: mathcomp-boot'
837 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
838 "rocq-9.1" --argstr job "mathcomp-boot"
839 - if: steps.stepCheck.outputs.status != 'fetched'
840 name: Building/fetching current CI target
841 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
842 "rocq-9.1" --argstr job "mathcomp-bigenough"
843 mathcomp-boot:
844 needs:
845 - rocq-core
846 - hierarchy-builder
847 runs-on: ubuntu-latest
848 steps:
849 - name: Determine which commit to initially checkout
850 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
851 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
852 }}\" >> $GITHUB_ENV\nfi\n"
853 - name: Git checkout
854 uses: actions/checkout@v6
855 with:
856 fetch-depth: 0
857 ref: ${{ env.target_commit }}
858 - name: Determine which commit to test
859 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
860 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
861 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
862 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
863 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
864 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
865 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
866 \ fi\nfi\n"
867 - name: Git checkout
868 uses: actions/checkout@v6
869 with:
870 fetch-depth: 0
871 ref: ${{ env.tested_commit }}
872 - name: Cachix install
873 uses: cachix/install-nix-action@v31
874 with:
875 nix_path: nixpkgs=channel:nixpkgs-unstable
876 - name: Cachix setup coq-elpi
877 uses: cachix/cachix-action@v16
878 with:
879 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
880 extraPullNames: coq, coq-community, math-comp
881 name: coq-elpi
882 - id: stepGetDerivation
883 name: Getting derivation for current job (mathcomp-boot)
884 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
885 \"rocq-9.1\" --argstr job \"mathcomp-boot\" \\\n --dry-run 2> err > out
886 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
887 derivation failed\"; exit 1; fi\n"
888 - id: stepCheck
889 name: Checking presence of CI target for current job
890 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
891 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
892 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
893 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
894 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
895 - if: steps.stepCheck.outputs.status != 'fetched'
896 name: 'Building/fetching previous CI target: rocq-core'
897 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
898 "rocq-9.1" --argstr job "rocq-core"
899 - if: steps.stepCheck.outputs.status != 'fetched'
900 name: 'Building/fetching previous CI target: hierarchy-builder'
901 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
902 "rocq-9.1" --argstr job "hierarchy-builder"
903 - if: steps.stepCheck.outputs.status != 'fetched'
904 name: Building/fetching current CI target
905 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
906 "rocq-9.1" --argstr job "mathcomp-boot"
907 mathcomp-character:
908 needs:
909 - rocq-core
910 - mathcomp-field
911 - hierarchy-builder
912 runs-on: ubuntu-latest
913 steps:
914 - name: Determine which commit to initially checkout
915 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
916 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
917 }}\" >> $GITHUB_ENV\nfi\n"
918 - name: Git checkout
919 uses: actions/checkout@v6
920 with:
921 fetch-depth: 0
922 ref: ${{ env.target_commit }}
923 - name: Determine which commit to test
924 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
925 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
926 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
927 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
928 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
929 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
930 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
931 \ fi\nfi\n"
932 - name: Git checkout
933 uses: actions/checkout@v6
934 with:
935 fetch-depth: 0
936 ref: ${{ env.tested_commit }}
937 - name: Cachix install
938 uses: cachix/install-nix-action@v31
939 with:
940 nix_path: nixpkgs=channel:nixpkgs-unstable
941 - name: Cachix setup coq-elpi
942 uses: cachix/cachix-action@v16
943 with:
944 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
945 extraPullNames: coq, coq-community, math-comp
946 name: coq-elpi
947 - id: stepGetDerivation
948 name: Getting derivation for current job (mathcomp-character)
949 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
950 \"rocq-9.1\" --argstr job \"mathcomp-character\" \\\n --dry-run 2> err >
951 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
952 getting derivation failed\"; exit 1; fi\n"
953 - id: stepCheck
954 name: Checking presence of CI target for current job
955 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
956 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
957 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
958 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
959 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
960 - if: steps.stepCheck.outputs.status != 'fetched'
961 name: 'Building/fetching previous CI target: rocq-core'
962 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
963 "rocq-9.1" --argstr job "rocq-core"
964 - if: steps.stepCheck.outputs.status != 'fetched'
965 name: 'Building/fetching previous CI target: mathcomp-field'
966 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
967 "rocq-9.1" --argstr job "mathcomp-field"
968 - if: steps.stepCheck.outputs.status != 'fetched'
969 name: 'Building/fetching previous CI target: hierarchy-builder'
970 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
971 "rocq-9.1" --argstr job "hierarchy-builder"
972 - if: steps.stepCheck.outputs.status != 'fetched'
973 name: Building/fetching current CI target
974 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
975 "rocq-9.1" --argstr job "mathcomp-character"
976 mathcomp-classical:
977 needs:
978 - rocq-core
979 - mathcomp-algebra
980 - mathcomp-finmap
981 runs-on: ubuntu-latest
982 steps:
983 - name: Determine which commit to initially checkout
984 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
985 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
986 }}\" >> $GITHUB_ENV\nfi\n"
987 - name: Git checkout
988 uses: actions/checkout@v6
989 with:
990 fetch-depth: 0
991 ref: ${{ env.target_commit }}
992 - name: Determine which commit to test
993 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
994 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
995 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
996 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
997 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
998 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
999 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1000 \ fi\nfi\n"
1001 - name: Git checkout
1002 uses: actions/checkout@v6
1003 with:
1004 fetch-depth: 0
1005 ref: ${{ env.tested_commit }}
1006 - name: Cachix install
1007 uses: cachix/install-nix-action@v31
1008 with:
1009 nix_path: nixpkgs=channel:nixpkgs-unstable
1010 - name: Cachix setup coq-elpi
1011 uses: cachix/cachix-action@v16
1012 with:
1013 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1014 extraPullNames: coq, coq-community, math-comp
1015 name: coq-elpi
1016 - id: stepGetDerivation
1017 name: Getting derivation for current job (mathcomp-classical)
1018 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1019 \"rocq-9.1\" --argstr job \"mathcomp-classical\" \\\n --dry-run 2> err >
1020 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
1021 getting derivation failed\"; exit 1; fi\n"
1022 - id: stepCheck
1023 name: Checking presence of CI target for current job
1024 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1025 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1026 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1027 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1028 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1029 - if: steps.stepCheck.outputs.status != 'fetched'
1030 name: 'Building/fetching previous CI target: rocq-core'
1031 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1032 "rocq-9.1" --argstr job "rocq-core"
1033 - if: steps.stepCheck.outputs.status != 'fetched'
1034 name: 'Building/fetching previous CI target: mathcomp-algebra'
1035 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1036 "rocq-9.1" --argstr job "mathcomp-algebra"
1037 - if: steps.stepCheck.outputs.status != 'fetched'
1038 name: 'Building/fetching previous CI target: mathcomp-finmap'
1039 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1040 "rocq-9.1" --argstr job "mathcomp-finmap"
1041 - if: steps.stepCheck.outputs.status != 'fetched'
1042 name: Building/fetching current CI target
1043 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1044 "rocq-9.1" --argstr job "mathcomp-classical"
1045 mathcomp-experimental-reals:
1046 needs:
1047 - rocq-core
1048 - mathcomp-analysis
1049 - mathcomp-bigenough
1050 runs-on: ubuntu-latest
1051 steps:
1052 - name: Determine which commit to initially checkout
1053 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1054 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1055 }}\" >> $GITHUB_ENV\nfi\n"
1056 - name: Git checkout
1057 uses: actions/checkout@v6
1058 with:
1059 fetch-depth: 0
1060 ref: ${{ env.target_commit }}
1061 - name: Determine which commit to test
1062 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1063 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1064 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1065 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1066 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1067 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1068 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1069 \ fi\nfi\n"
1070 - name: Git checkout
1071 uses: actions/checkout@v6
1072 with:
1073 fetch-depth: 0
1074 ref: ${{ env.tested_commit }}
1075 - name: Cachix install
1076 uses: cachix/install-nix-action@v31
1077 with:
1078 nix_path: nixpkgs=channel:nixpkgs-unstable
1079 - name: Cachix setup coq-elpi
1080 uses: cachix/cachix-action@v16
1081 with:
1082 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1083 extraPullNames: coq, coq-community, math-comp
1084 name: coq-elpi
1085 - id: stepGetDerivation
1086 name: Getting derivation for current job (mathcomp-experimental-reals)
1087 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1088 \"rocq-9.1\" --argstr job \"mathcomp-experimental-reals\" \\\n --dry-run
1089 2> err > out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo
1090 \"Error: getting derivation failed\"; exit 1; fi\n"
1091 - id: stepCheck
1092 name: Checking presence of CI target for current job
1093 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1094 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1095 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1096 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1097 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1098 - if: steps.stepCheck.outputs.status != 'fetched'
1099 name: 'Building/fetching previous CI target: rocq-core'
1100 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1101 "rocq-9.1" --argstr job "rocq-core"
1102 - if: steps.stepCheck.outputs.status != 'fetched'
1103 name: 'Building/fetching previous CI target: mathcomp-analysis'
1104 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1105 "rocq-9.1" --argstr job "mathcomp-analysis"
1106 - if: steps.stepCheck.outputs.status != 'fetched'
1107 name: 'Building/fetching previous CI target: mathcomp-bigenough'
1108 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1109 "rocq-9.1" --argstr job "mathcomp-bigenough"
1110 - if: steps.stepCheck.outputs.status != 'fetched'
1111 name: Building/fetching current CI target
1112 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1113 "rocq-9.1" --argstr job "mathcomp-experimental-reals"
1114 mathcomp-field:
1115 needs:
1116 - rocq-core
1117 - mathcomp-solvable
1118 - hierarchy-builder
1119 runs-on: ubuntu-latest
1120 steps:
1121 - name: Determine which commit to initially checkout
1122 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1123 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1124 }}\" >> $GITHUB_ENV\nfi\n"
1125 - name: Git checkout
1126 uses: actions/checkout@v6
1127 with:
1128 fetch-depth: 0
1129 ref: ${{ env.target_commit }}
1130 - name: Determine which commit to test
1131 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1132 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1133 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1134 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1135 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1136 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1137 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1138 \ fi\nfi\n"
1139 - name: Git checkout
1140 uses: actions/checkout@v6
1141 with:
1142 fetch-depth: 0
1143 ref: ${{ env.tested_commit }}
1144 - name: Cachix install
1145 uses: cachix/install-nix-action@v31
1146 with:
1147 nix_path: nixpkgs=channel:nixpkgs-unstable
1148 - name: Cachix setup coq-elpi
1149 uses: cachix/cachix-action@v16
1150 with:
1151 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1152 extraPullNames: coq, coq-community, math-comp
1153 name: coq-elpi
1154 - id: stepGetDerivation
1155 name: Getting derivation for current job (mathcomp-field)
1156 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1157 \"rocq-9.1\" --argstr job \"mathcomp-field\" \\\n --dry-run 2> err > out
1158 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
1159 derivation failed\"; exit 1; fi\n"
1160 - id: stepCheck
1161 name: Checking presence of CI target for current job
1162 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1163 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1164 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1165 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1166 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1167 - if: steps.stepCheck.outputs.status != 'fetched'
1168 name: 'Building/fetching previous CI target: rocq-core'
1169 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1170 "rocq-9.1" --argstr job "rocq-core"
1171 - if: steps.stepCheck.outputs.status != 'fetched'
1172 name: 'Building/fetching previous CI target: mathcomp-solvable'
1173 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1174 "rocq-9.1" --argstr job "mathcomp-solvable"
1175 - if: steps.stepCheck.outputs.status != 'fetched'
1176 name: 'Building/fetching previous CI target: hierarchy-builder'
1177 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1178 "rocq-9.1" --argstr job "hierarchy-builder"
1179 - if: steps.stepCheck.outputs.status != 'fetched'
1180 name: Building/fetching current CI target
1181 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1182 "rocq-9.1" --argstr job "mathcomp-field"
1183 mathcomp-fingroup:
1184 needs:
1185 - rocq-core
1186 - mathcomp-boot
1187 - hierarchy-builder
1188 runs-on: ubuntu-latest
1189 steps:
1190 - name: Determine which commit to initially checkout
1191 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1192 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1193 }}\" >> $GITHUB_ENV\nfi\n"
1194 - name: Git checkout
1195 uses: actions/checkout@v6
1196 with:
1197 fetch-depth: 0
1198 ref: ${{ env.target_commit }}
1199 - name: Determine which commit to test
1200 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1201 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1202 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1203 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1204 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1205 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1206 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1207 \ fi\nfi\n"
1208 - name: Git checkout
1209 uses: actions/checkout@v6
1210 with:
1211 fetch-depth: 0
1212 ref: ${{ env.tested_commit }}
1213 - name: Cachix install
1214 uses: cachix/install-nix-action@v31
1215 with:
1216 nix_path: nixpkgs=channel:nixpkgs-unstable
1217 - name: Cachix setup coq-elpi
1218 uses: cachix/cachix-action@v16
1219 with:
1220 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1221 extraPullNames: coq, coq-community, math-comp
1222 name: coq-elpi
1223 - id: stepGetDerivation
1224 name: Getting derivation for current job (mathcomp-fingroup)
1225 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1226 \"rocq-9.1\" --argstr job \"mathcomp-fingroup\" \\\n --dry-run 2> err >
1227 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
1228 getting derivation failed\"; exit 1; fi\n"
1229 - id: stepCheck
1230 name: Checking presence of CI target for current job
1231 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1232 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1233 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1234 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1235 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1236 - if: steps.stepCheck.outputs.status != 'fetched'
1237 name: 'Building/fetching previous CI target: rocq-core'
1238 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1239 "rocq-9.1" --argstr job "rocq-core"
1240 - if: steps.stepCheck.outputs.status != 'fetched'
1241 name: 'Building/fetching previous CI target: mathcomp-boot'
1242 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1243 "rocq-9.1" --argstr job "mathcomp-boot"
1244 - if: steps.stepCheck.outputs.status != 'fetched'
1245 name: 'Building/fetching previous CI target: hierarchy-builder'
1246 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1247 "rocq-9.1" --argstr job "hierarchy-builder"
1248 - if: steps.stepCheck.outputs.status != 'fetched'
1249 name: Building/fetching current CI target
1250 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1251 "rocq-9.1" --argstr job "mathcomp-fingroup"
1252 mathcomp-finmap:
1253 needs:
1254 - rocq-core
1255 - mathcomp-boot
1256 runs-on: ubuntu-latest
1257 steps:
1258 - name: Determine which commit to initially checkout
1259 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1260 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1261 }}\" >> $GITHUB_ENV\nfi\n"
1262 - name: Git checkout
1263 uses: actions/checkout@v6
1264 with:
1265 fetch-depth: 0
1266 ref: ${{ env.target_commit }}
1267 - name: Determine which commit to test
1268 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1269 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1270 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1271 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1272 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1273 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1274 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1275 \ fi\nfi\n"
1276 - name: Git checkout
1277 uses: actions/checkout@v6
1278 with:
1279 fetch-depth: 0
1280 ref: ${{ env.tested_commit }}
1281 - name: Cachix install
1282 uses: cachix/install-nix-action@v31
1283 with:
1284 nix_path: nixpkgs=channel:nixpkgs-unstable
1285 - name: Cachix setup coq-elpi
1286 uses: cachix/cachix-action@v16
1287 with:
1288 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1289 extraPullNames: coq, coq-community, math-comp
1290 name: coq-elpi
1291 - id: stepGetDerivation
1292 name: Getting derivation for current job (mathcomp-finmap)
1293 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1294 \"rocq-9.1\" --argstr job \"mathcomp-finmap\" \\\n --dry-run 2> err > out
1295 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
1296 derivation failed\"; exit 1; fi\n"
1297 - id: stepCheck
1298 name: Checking presence of CI target for current job
1299 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1300 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1301 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1302 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1303 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1304 - if: steps.stepCheck.outputs.status != 'fetched'
1305 name: 'Building/fetching previous CI target: rocq-core'
1306 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1307 "rocq-9.1" --argstr job "rocq-core"
1308 - if: steps.stepCheck.outputs.status != 'fetched'
1309 name: 'Building/fetching previous CI target: mathcomp-boot'
1310 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1311 "rocq-9.1" --argstr job "mathcomp-boot"
1312 - if: steps.stepCheck.outputs.status != 'fetched'
1313 name: Building/fetching current CI target
1314 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1315 "rocq-9.1" --argstr job "mathcomp-finmap"
1316 mathcomp-order:
1317 needs:
1318 - rocq-core
1319 - mathcomp-boot
1320 - hierarchy-builder
1321 runs-on: ubuntu-latest
1322 steps:
1323 - name: Determine which commit to initially checkout
1324 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1325 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1326 }}\" >> $GITHUB_ENV\nfi\n"
1327 - name: Git checkout
1328 uses: actions/checkout@v6
1329 with:
1330 fetch-depth: 0
1331 ref: ${{ env.target_commit }}
1332 - name: Determine which commit to test
1333 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1334 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1335 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1336 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1337 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1338 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1339 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1340 \ fi\nfi\n"
1341 - name: Git checkout
1342 uses: actions/checkout@v6
1343 with:
1344 fetch-depth: 0
1345 ref: ${{ env.tested_commit }}
1346 - name: Cachix install
1347 uses: cachix/install-nix-action@v31
1348 with:
1349 nix_path: nixpkgs=channel:nixpkgs-unstable
1350 - name: Cachix setup coq-elpi
1351 uses: cachix/cachix-action@v16
1352 with:
1353 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1354 extraPullNames: coq, coq-community, math-comp
1355 name: coq-elpi
1356 - id: stepGetDerivation
1357 name: Getting derivation for current job (mathcomp-order)
1358 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1359 \"rocq-9.1\" --argstr job \"mathcomp-order\" \\\n --dry-run 2> err > out
1360 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
1361 derivation failed\"; exit 1; fi\n"
1362 - id: stepCheck
1363 name: Checking presence of CI target for current job
1364 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1365 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1366 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1367 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1368 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1369 - if: steps.stepCheck.outputs.status != 'fetched'
1370 name: 'Building/fetching previous CI target: rocq-core'
1371 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1372 "rocq-9.1" --argstr job "rocq-core"
1373 - if: steps.stepCheck.outputs.status != 'fetched'
1374 name: 'Building/fetching previous CI target: mathcomp-boot'
1375 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1376 "rocq-9.1" --argstr job "mathcomp-boot"
1377 - if: steps.stepCheck.outputs.status != 'fetched'
1378 name: 'Building/fetching previous CI target: hierarchy-builder'
1379 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1380 "rocq-9.1" --argstr job "hierarchy-builder"
1381 - if: steps.stepCheck.outputs.status != 'fetched'
1382 name: Building/fetching current CI target
1383 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1384 "rocq-9.1" --argstr job "mathcomp-order"
1385 mathcomp-real-closed:
1386 needs:
1387 - rocq-core
1388 - mathcomp-field
1389 - mathcomp-bigenough
1390 runs-on: ubuntu-latest
1391 steps:
1392 - name: Determine which commit to initially checkout
1393 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1394 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1395 }}\" >> $GITHUB_ENV\nfi\n"
1396 - name: Git checkout
1397 uses: actions/checkout@v6
1398 with:
1399 fetch-depth: 0
1400 ref: ${{ env.target_commit }}
1401 - name: Determine which commit to test
1402 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1403 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1404 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1405 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1406 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1407 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1408 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1409 \ fi\nfi\n"
1410 - name: Git checkout
1411 uses: actions/checkout@v6
1412 with:
1413 fetch-depth: 0
1414 ref: ${{ env.tested_commit }}
1415 - name: Cachix install
1416 uses: cachix/install-nix-action@v31
1417 with:
1418 nix_path: nixpkgs=channel:nixpkgs-unstable
1419 - name: Cachix setup coq-elpi
1420 uses: cachix/cachix-action@v16
1421 with:
1422 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1423 extraPullNames: coq, coq-community, math-comp
1424 name: coq-elpi
1425 - id: stepGetDerivation
1426 name: Getting derivation for current job (mathcomp-real-closed)
1427 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1428 \"rocq-9.1\" --argstr job \"mathcomp-real-closed\" \\\n --dry-run 2> err
1429 > out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
1430 getting derivation failed\"; exit 1; fi\n"
1431 - id: stepCheck
1432 name: Checking presence of CI target for current job
1433 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1434 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1435 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1436 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1437 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1438 - if: steps.stepCheck.outputs.status != 'fetched'
1439 name: 'Building/fetching previous CI target: rocq-core'
1440 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1441 "rocq-9.1" --argstr job "rocq-core"
1442 - if: steps.stepCheck.outputs.status != 'fetched'
1443 name: 'Building/fetching previous CI target: mathcomp-field'
1444 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1445 "rocq-9.1" --argstr job "mathcomp-field"
1446 - if: steps.stepCheck.outputs.status != 'fetched'
1447 name: 'Building/fetching previous CI target: mathcomp-bigenough'
1448 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1449 "rocq-9.1" --argstr job "mathcomp-bigenough"
1450 - if: steps.stepCheck.outputs.status != 'fetched'
1451 name: Building/fetching current CI target
1452 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1453 "rocq-9.1" --argstr job "mathcomp-real-closed"
1454 mathcomp-reals:
1455 needs:
1456 - rocq-core
1457 - mathcomp-classical
1458 runs-on: ubuntu-latest
1459 steps:
1460 - name: Determine which commit to initially checkout
1461 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1462 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1463 }}\" >> $GITHUB_ENV\nfi\n"
1464 - name: Git checkout
1465 uses: actions/checkout@v6
1466 with:
1467 fetch-depth: 0
1468 ref: ${{ env.target_commit }}
1469 - name: Determine which commit to test
1470 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1471 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1472 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1473 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1474 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1475 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1476 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1477 \ fi\nfi\n"
1478 - name: Git checkout
1479 uses: actions/checkout@v6
1480 with:
1481 fetch-depth: 0
1482 ref: ${{ env.tested_commit }}
1483 - name: Cachix install
1484 uses: cachix/install-nix-action@v31
1485 with:
1486 nix_path: nixpkgs=channel:nixpkgs-unstable
1487 - name: Cachix setup coq-elpi
1488 uses: cachix/cachix-action@v16
1489 with:
1490 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1491 extraPullNames: coq, coq-community, math-comp
1492 name: coq-elpi
1493 - id: stepGetDerivation
1494 name: Getting derivation for current job (mathcomp-reals)
1495 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1496 \"rocq-9.1\" --argstr job \"mathcomp-reals\" \\\n --dry-run 2> err > out
1497 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
1498 derivation failed\"; exit 1; fi\n"
1499 - id: stepCheck
1500 name: Checking presence of CI target for current job
1501 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1502 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1503 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1504 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1505 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1506 - if: steps.stepCheck.outputs.status != 'fetched'
1507 name: 'Building/fetching previous CI target: rocq-core'
1508 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1509 "rocq-9.1" --argstr job "rocq-core"
1510 - if: steps.stepCheck.outputs.status != 'fetched'
1511 name: 'Building/fetching previous CI target: mathcomp-classical'
1512 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1513 "rocq-9.1" --argstr job "mathcomp-classical"
1514 - if: steps.stepCheck.outputs.status != 'fetched'
1515 name: Building/fetching current CI target
1516 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1517 "rocq-9.1" --argstr job "mathcomp-reals"
1518 mathcomp-reals-stdlib:
1519 needs:
1520 - rocq-core
1521 - mathcomp-reals
1522 - stdlib
1523 runs-on: ubuntu-latest
1524 steps:
1525 - name: Determine which commit to initially checkout
1526 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1527 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1528 }}\" >> $GITHUB_ENV\nfi\n"
1529 - name: Git checkout
1530 uses: actions/checkout@v6
1531 with:
1532 fetch-depth: 0
1533 ref: ${{ env.target_commit }}
1534 - name: Determine which commit to test
1535 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1536 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1537 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1538 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1539 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1540 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1541 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1542 \ fi\nfi\n"
1543 - name: Git checkout
1544 uses: actions/checkout@v6
1545 with:
1546 fetch-depth: 0
1547 ref: ${{ env.tested_commit }}
1548 - name: Cachix install
1549 uses: cachix/install-nix-action@v31
1550 with:
1551 nix_path: nixpkgs=channel:nixpkgs-unstable
1552 - name: Cachix setup coq-elpi
1553 uses: cachix/cachix-action@v16
1554 with:
1555 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1556 extraPullNames: coq, coq-community, math-comp
1557 name: coq-elpi
1558 - id: stepGetDerivation
1559 name: Getting derivation for current job (mathcomp-reals-stdlib)
1560 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1561 \"rocq-9.1\" --argstr job \"mathcomp-reals-stdlib\" \\\n --dry-run 2> err
1562 > out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
1563 getting derivation failed\"; exit 1; fi\n"
1564 - id: stepCheck
1565 name: Checking presence of CI target for current job
1566 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1567 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1568 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1569 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1570 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1571 - if: steps.stepCheck.outputs.status != 'fetched'
1572 name: 'Building/fetching previous CI target: rocq-core'
1573 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1574 "rocq-9.1" --argstr job "rocq-core"
1575 - if: steps.stepCheck.outputs.status != 'fetched'
1576 name: 'Building/fetching previous CI target: mathcomp-reals'
1577 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1578 "rocq-9.1" --argstr job "mathcomp-reals"
1579 - if: steps.stepCheck.outputs.status != 'fetched'
1580 name: 'Building/fetching previous CI target: stdlib'
1581 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1582 "rocq-9.1" --argstr job "stdlib"
1583 - if: steps.stepCheck.outputs.status != 'fetched'
1584 name: Building/fetching current CI target
1585 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1586 "rocq-9.1" --argstr job "mathcomp-reals-stdlib"
1587 mathcomp-solvable:
1588 needs:
1589 - rocq-core
1590 - mathcomp-algebra
1591 - hierarchy-builder
1592 runs-on: ubuntu-latest
1593 steps:
1594 - name: Determine which commit to initially checkout
1595 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1596 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1597 }}\" >> $GITHUB_ENV\nfi\n"
1598 - name: Git checkout
1599 uses: actions/checkout@v6
1600 with:
1601 fetch-depth: 0
1602 ref: ${{ env.target_commit }}
1603 - name: Determine which commit to test
1604 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1605 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1606 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1607 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1608 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1609 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1610 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1611 \ fi\nfi\n"
1612 - name: Git checkout
1613 uses: actions/checkout@v6
1614 with:
1615 fetch-depth: 0
1616 ref: ${{ env.tested_commit }}
1617 - name: Cachix install
1618 uses: cachix/install-nix-action@v31
1619 with:
1620 nix_path: nixpkgs=channel:nixpkgs-unstable
1621 - name: Cachix setup coq-elpi
1622 uses: cachix/cachix-action@v16
1623 with:
1624 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1625 extraPullNames: coq, coq-community, math-comp
1626 name: coq-elpi
1627 - id: stepGetDerivation
1628 name: Getting derivation for current job (mathcomp-solvable)
1629 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1630 \"rocq-9.1\" --argstr job \"mathcomp-solvable\" \\\n --dry-run 2> err >
1631 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
1632 getting derivation failed\"; exit 1; fi\n"
1633 - id: stepCheck
1634 name: Checking presence of CI target for current job
1635 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1636 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1637 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1638 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1639 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1640 - if: steps.stepCheck.outputs.status != 'fetched'
1641 name: 'Building/fetching previous CI target: rocq-core'
1642 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1643 "rocq-9.1" --argstr job "rocq-core"
1644 - if: steps.stepCheck.outputs.status != 'fetched'
1645 name: 'Building/fetching previous CI target: mathcomp-algebra'
1646 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1647 "rocq-9.1" --argstr job "mathcomp-algebra"
1648 - if: steps.stepCheck.outputs.status != 'fetched'
1649 name: 'Building/fetching previous CI target: hierarchy-builder'
1650 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1651 "rocq-9.1" --argstr job "hierarchy-builder"
1652 - if: steps.stepCheck.outputs.status != 'fetched'
1653 name: Building/fetching current CI target
1654 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1655 "rocq-9.1" --argstr job "mathcomp-solvable"
1656 mathcomp-ssreflect:
1657 needs:
1658 - coq
1659 - mathcomp-boot
1660 - mathcomp-order
1661 runs-on: ubuntu-latest
1662 steps:
1663 - name: Determine which commit to initially checkout
1664 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1665 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1666 }}\" >> $GITHUB_ENV\nfi\n"
1667 - name: Git checkout
1668 uses: actions/checkout@v6
1669 with:
1670 fetch-depth: 0
1671 ref: ${{ env.target_commit }}
1672 - name: Determine which commit to test
1673 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1674 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1675 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1676 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1677 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1678 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1679 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1680 \ fi\nfi\n"
1681 - name: Git checkout
1682 uses: actions/checkout@v6
1683 with:
1684 fetch-depth: 0
1685 ref: ${{ env.tested_commit }}
1686 - name: Cachix install
1687 uses: cachix/install-nix-action@v31
1688 with:
1689 nix_path: nixpkgs=channel:nixpkgs-unstable
1690 - name: Cachix setup coq-elpi
1691 uses: cachix/cachix-action@v16
1692 with:
1693 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1694 extraPullNames: coq, coq-community, math-comp
1695 name: coq-elpi
1696 - id: stepGetDerivation
1697 name: Getting derivation for current job (mathcomp-ssreflect)
1698 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1699 \"rocq-9.1\" --argstr job \"mathcomp-ssreflect\" \\\n --dry-run 2> err >
1700 out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
1701 getting derivation failed\"; exit 1; fi\n"
1702 - id: stepCheck
1703 name: Checking presence of CI target for current job
1704 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1705 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1706 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1707 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1708 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1709 - if: steps.stepCheck.outputs.status != 'fetched'
1710 name: 'Building/fetching previous CI target: coq'
1711 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1712 "rocq-9.1" --argstr job "coq"
1713 - if: steps.stepCheck.outputs.status != 'fetched'
1714 name: 'Building/fetching previous CI target: mathcomp-boot'
1715 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1716 "rocq-9.1" --argstr job "mathcomp-boot"
1717 - if: steps.stepCheck.outputs.status != 'fetched'
1718 name: 'Building/fetching previous CI target: mathcomp-order'
1719 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1720 "rocq-9.1" --argstr job "mathcomp-order"
1721 - if: steps.stepCheck.outputs.status != 'fetched'
1722 name: Building/fetching current CI target
1723 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1724 "rocq-9.1" --argstr job "mathcomp-ssreflect"
1725 mathcomp-word:
1726 needs:
1727 - coq
1728 - mathcomp-algebra
1729 - mathcomp-ssreflect
1730 - mathcomp-fingroup
1731 - stdlib
1732 runs-on: ubuntu-latest
1733 steps:
1734 - name: Determine which commit to initially checkout
1735 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1736 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1737 }}\" >> $GITHUB_ENV\nfi\n"
1738 - name: Git checkout
1739 uses: actions/checkout@v6
1740 with:
1741 fetch-depth: 0
1742 ref: ${{ env.target_commit }}
1743 - name: Determine which commit to test
1744 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1745 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1746 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1747 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1748 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1749 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1750 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1751 \ fi\nfi\n"
1752 - name: Git checkout
1753 uses: actions/checkout@v6
1754 with:
1755 fetch-depth: 0
1756 ref: ${{ env.tested_commit }}
1757 - name: Cachix install
1758 uses: cachix/install-nix-action@v31
1759 with:
1760 nix_path: nixpkgs=channel:nixpkgs-unstable
1761 - name: Cachix setup coq-elpi
1762 uses: cachix/cachix-action@v16
1763 with:
1764 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1765 extraPullNames: coq, coq-community, math-comp
1766 name: coq-elpi
1767 - id: stepGetDerivation
1768 name: Getting derivation for current job (mathcomp-word)
1769 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1770 \"rocq-9.1\" --argstr job \"mathcomp-word\" \\\n --dry-run 2> err > out
1771 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
1772 derivation failed\"; exit 1; fi\n"
1773 - id: stepCheck
1774 name: Checking presence of CI target for current job
1775 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1776 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1777 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1778 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1779 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1780 - if: steps.stepCheck.outputs.status != 'fetched'
1781 name: 'Building/fetching previous CI target: coq'
1782 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1783 "rocq-9.1" --argstr job "coq"
1784 - if: steps.stepCheck.outputs.status != 'fetched'
1785 name: 'Building/fetching previous CI target: mathcomp-algebra'
1786 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1787 "rocq-9.1" --argstr job "mathcomp-algebra"
1788 - if: steps.stepCheck.outputs.status != 'fetched'
1789 name: 'Building/fetching previous CI target: mathcomp-ssreflect'
1790 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1791 "rocq-9.1" --argstr job "mathcomp-ssreflect"
1792 - if: steps.stepCheck.outputs.status != 'fetched'
1793 name: 'Building/fetching previous CI target: mathcomp-fingroup'
1794 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1795 "rocq-9.1" --argstr job "mathcomp-fingroup"
1796 - if: steps.stepCheck.outputs.status != 'fetched'
1797 name: 'Building/fetching previous CI target: stdlib'
1798 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1799 "rocq-9.1" --argstr job "stdlib"
1800 - if: steps.stepCheck.outputs.status != 'fetched'
1801 name: Building/fetching current CI target
1802 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1803 "rocq-9.1" --argstr job "mathcomp-word"
1804 mathcomp-zify:
1805 needs:
1806 - coq
1807 - mathcomp-boot
1808 - mathcomp-algebra
1809 - mathcomp-fingroup
1810 - stdlib
1811 runs-on: ubuntu-latest
1812 steps:
1813 - name: Determine which commit to initially checkout
1814 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1815 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1816 }}\" >> $GITHUB_ENV\nfi\n"
1817 - name: Git checkout
1818 uses: actions/checkout@v6
1819 with:
1820 fetch-depth: 0
1821 ref: ${{ env.target_commit }}
1822 - name: Determine which commit to test
1823 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1824 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1825 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1826 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1827 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1828 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1829 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1830 \ fi\nfi\n"
1831 - name: Git checkout
1832 uses: actions/checkout@v6
1833 with:
1834 fetch-depth: 0
1835 ref: ${{ env.tested_commit }}
1836 - name: Cachix install
1837 uses: cachix/install-nix-action@v31
1838 with:
1839 nix_path: nixpkgs=channel:nixpkgs-unstable
1840 - name: Cachix setup coq-elpi
1841 uses: cachix/cachix-action@v16
1842 with:
1843 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1844 extraPullNames: coq, coq-community, math-comp
1845 name: coq-elpi
1846 - id: stepGetDerivation
1847 name: Getting derivation for current job (mathcomp-zify)
1848 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1849 \"rocq-9.1\" --argstr job \"mathcomp-zify\" \\\n --dry-run 2> err > out
1850 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
1851 derivation failed\"; exit 1; fi\n"
1852 - id: stepCheck
1853 name: Checking presence of CI target for current job
1854 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1855 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1856 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1857 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1858 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1859 - if: steps.stepCheck.outputs.status != 'fetched'
1860 name: 'Building/fetching previous CI target: coq'
1861 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1862 "rocq-9.1" --argstr job "coq"
1863 - if: steps.stepCheck.outputs.status != 'fetched'
1864 name: 'Building/fetching previous CI target: mathcomp-boot'
1865 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1866 "rocq-9.1" --argstr job "mathcomp-boot"
1867 - if: steps.stepCheck.outputs.status != 'fetched'
1868 name: 'Building/fetching previous CI target: mathcomp-algebra'
1869 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1870 "rocq-9.1" --argstr job "mathcomp-algebra"
1871 - if: steps.stepCheck.outputs.status != 'fetched'
1872 name: 'Building/fetching previous CI target: mathcomp-fingroup'
1873 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1874 "rocq-9.1" --argstr job "mathcomp-fingroup"
1875 - if: steps.stepCheck.outputs.status != 'fetched'
1876 name: 'Building/fetching previous CI target: stdlib'
1877 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1878 "rocq-9.1" --argstr job "stdlib"
1879 - if: steps.stepCheck.outputs.status != 'fetched'
1880 name: Building/fetching current CI target
1881 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1882 "rocq-9.1" --argstr job "mathcomp-zify"
1883 multinomials:
1884 needs:
1885 - coq
1886 - mathcomp-boot
1887 - mathcomp-algebra
1888 - mathcomp-finmap
1889 - mathcomp-fingroup
1890 - mathcomp-bigenough
1891 runs-on: ubuntu-latest
1892 steps:
1893 - name: Determine which commit to initially checkout
1894 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1895 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1896 }}\" >> $GITHUB_ENV\nfi\n"
1897 - name: Git checkout
1898 uses: actions/checkout@v6
1899 with:
1900 fetch-depth: 0
1901 ref: ${{ env.target_commit }}
1902 - name: Determine which commit to test
1903 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1904 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1905 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1906 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1907 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1908 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1909 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1910 \ fi\nfi\n"
1911 - name: Git checkout
1912 uses: actions/checkout@v6
1913 with:
1914 fetch-depth: 0
1915 ref: ${{ env.tested_commit }}
1916 - name: Cachix install
1917 uses: cachix/install-nix-action@v31
1918 with:
1919 nix_path: nixpkgs=channel:nixpkgs-unstable
1920 - name: Cachix setup coq-elpi
1921 uses: cachix/cachix-action@v16
1922 with:
1923 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
1924 extraPullNames: coq, coq-community, math-comp
1925 name: coq-elpi
1926 - id: stepGetDerivation
1927 name: Getting derivation for current job (multinomials)
1928 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1929 \"rocq-9.1\" --argstr job \"multinomials\" \\\n --dry-run 2> err > out ||
1930 (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
1931 derivation failed\"; exit 1; fi\n"
1932 - id: stepCheck
1933 name: Checking presence of CI target for current job
1934 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
1935 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
1936 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
1937 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
1938 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
1939 - if: steps.stepCheck.outputs.status != 'fetched'
1940 name: 'Building/fetching previous CI target: coq'
1941 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1942 "rocq-9.1" --argstr job "coq"
1943 - if: steps.stepCheck.outputs.status != 'fetched'
1944 name: 'Building/fetching previous CI target: mathcomp-boot'
1945 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1946 "rocq-9.1" --argstr job "mathcomp-boot"
1947 - if: steps.stepCheck.outputs.status != 'fetched'
1948 name: 'Building/fetching previous CI target: mathcomp-algebra'
1949 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1950 "rocq-9.1" --argstr job "mathcomp-algebra"
1951 - if: steps.stepCheck.outputs.status != 'fetched'
1952 name: 'Building/fetching previous CI target: mathcomp-finmap'
1953 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1954 "rocq-9.1" --argstr job "mathcomp-finmap"
1955 - if: steps.stepCheck.outputs.status != 'fetched'
1956 name: 'Building/fetching previous CI target: mathcomp-fingroup'
1957 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1958 "rocq-9.1" --argstr job "mathcomp-fingroup"
1959 - if: steps.stepCheck.outputs.status != 'fetched'
1960 name: 'Building/fetching previous CI target: mathcomp-bigenough'
1961 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1962 "rocq-9.1" --argstr job "mathcomp-bigenough"
1963 - if: steps.stepCheck.outputs.status != 'fetched'
1964 name: Building/fetching current CI target
1965 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1966 "rocq-9.1" --argstr job "multinomials"
1967 odd-order:
1968 needs:
1969 - coq
1970 - mathcomp-character
1971 runs-on: ubuntu-latest
1972 steps:
1973 - name: Determine which commit to initially checkout
1974 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
1975 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
1976 }}\" >> $GITHUB_ENV\nfi\n"
1977 - name: Git checkout
1978 uses: actions/checkout@v6
1979 with:
1980 fetch-depth: 0
1981 ref: ${{ env.target_commit }}
1982 - name: Determine which commit to test
1983 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
1984 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1985 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1986 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1987 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
1988 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
1989 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
1990 \ fi\nfi\n"
1991 - name: Git checkout
1992 uses: actions/checkout@v6
1993 with:
1994 fetch-depth: 0
1995 ref: ${{ env.tested_commit }}
1996 - name: Cachix install
1997 uses: cachix/install-nix-action@v31
1998 with:
1999 nix_path: nixpkgs=channel:nixpkgs-unstable
2000 - name: Cachix setup coq-elpi
2001 uses: cachix/cachix-action@v16
2002 with:
2003 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
2004 extraPullNames: coq, coq-community, math-comp
2005 name: coq-elpi
2006 - id: stepGetDerivation
2007 name: Getting derivation for current job (odd-order)
2008 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
2009 \"rocq-9.1\" --argstr job \"odd-order\" \\\n --dry-run 2> err > out || (touch
2010 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
2011 failed\"; exit 1; fi\n"
2012 - id: stepCheck
2013 name: Checking presence of CI target for current job
2014 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
2015 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
2016 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
2017 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
2018 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
2019 - if: steps.stepCheck.outputs.status != 'fetched'
2020 name: 'Building/fetching previous CI target: coq'
2021 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2022 "rocq-9.1" --argstr job "coq"
2023 - if: steps.stepCheck.outputs.status != 'fetched'
2024 name: 'Building/fetching previous CI target: mathcomp-character'
2025 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2026 "rocq-9.1" --argstr job "mathcomp-character"
2027 - if: steps.stepCheck.outputs.status != 'fetched'
2028 name: Building/fetching current CI target
2029 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2030 "rocq-9.1" --argstr job "odd-order"
2031 rocq-core:
2032 needs: []
2033 runs-on: ubuntu-latest
2034 steps:
2035 - name: Determine which commit to initially checkout
2036 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
2037 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
2038 }}\" >> $GITHUB_ENV\nfi\n"
2039 - name: Git checkout
2040 uses: actions/checkout@v6
2041 with:
2042 fetch-depth: 0
2043 ref: ${{ env.target_commit }}
2044 - name: Determine which commit to test
2045 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
2046 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
2047 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
2048 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
2049 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
2050 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
2051 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
2052 \ fi\nfi\n"
2053 - name: Git checkout
2054 uses: actions/checkout@v6
2055 with:
2056 fetch-depth: 0
2057 ref: ${{ env.tested_commit }}
2058 - name: Cachix install
2059 uses: cachix/install-nix-action@v31
2060 with:
2061 nix_path: nixpkgs=channel:nixpkgs-unstable
2062 - name: Cachix setup coq-elpi
2063 uses: cachix/cachix-action@v16
2064 with:
2065 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
2066 extraPullNames: coq, coq-community, math-comp
2067 name: coq-elpi
2068 - id: stepGetDerivation
2069 name: Getting derivation for current job (rocq-core)
2070 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
2071 \"rocq-9.1\" --argstr job \"rocq-core\" \\\n --dry-run 2> err > out || (touch
2072 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
2073 failed\"; exit 1; fi\n"
2074 - id: stepCheck
2075 name: Checking presence of CI target for current job
2076 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
2077 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
2078 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
2079 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
2080 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
2081 - if: steps.stepCheck.outputs.status != 'fetched'
2082 name: Building/fetching current CI target
2083 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2084 "rocq-9.1" --argstr job "rocq-core"
2085 rocq-elpi:
2086 needs: []
2087 runs-on: ubuntu-latest
2088 steps:
2089 - name: Determine which commit to initially checkout
2090 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
2091 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
2092 }}\" >> $GITHUB_ENV\nfi\n"
2093 - name: Git checkout
2094 uses: actions/checkout@v6
2095 with:
2096 fetch-depth: 0
2097 ref: ${{ env.target_commit }}
2098 - name: Determine which commit to test
2099 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
2100 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
2101 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
2102 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
2103 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
2104 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
2105 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
2106 \ fi\nfi\n"
2107 - name: Git checkout
2108 uses: actions/checkout@v6
2109 with:
2110 fetch-depth: 0
2111 ref: ${{ env.tested_commit }}
2112 - name: Cachix install
2113 uses: cachix/install-nix-action@v31
2114 with:
2115 nix_path: nixpkgs=channel:nixpkgs-unstable
2116 - name: Cachix setup coq-elpi
2117 uses: cachix/cachix-action@v16
2118 with:
2119 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
2120 extraPullNames: coq, coq-community, math-comp
2121 name: coq-elpi
2122 - id: stepGetDerivation
2123 name: Getting derivation for current job (rocq-elpi)
2124 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
2125 \"rocq-9.1\" --argstr job \"rocq-elpi\" \\\n --dry-run 2> err > out || (touch
2126 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
2127 failed\"; exit 1; fi\n"
2128 - id: stepCheck
2129 name: Checking presence of CI target for current job
2130 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
2131 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
2132 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
2133 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
2134 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
2135 - if: steps.stepCheck.outputs.status != 'fetched'
2136 name: Building/fetching current CI target
2137 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2138 "rocq-9.1" --argstr job "rocq-elpi"
2139 rocq-elpi-tests:
2140 needs:
2141 - rocq-core
2142 runs-on: ubuntu-latest
2143 steps:
2144 - name: Determine which commit to initially checkout
2145 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
2146 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
2147 }}\" >> $GITHUB_ENV\nfi\n"
2148 - name: Git checkout
2149 uses: actions/checkout@v6
2150 with:
2151 fetch-depth: 0
2152 ref: ${{ env.target_commit }}
2153 - name: Determine which commit to test
2154 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
2155 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
2156 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
2157 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
2158 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
2159 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
2160 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
2161 \ fi\nfi\n"
2162 - name: Git checkout
2163 uses: actions/checkout@v6
2164 with:
2165 fetch-depth: 0
2166 ref: ${{ env.tested_commit }}
2167 - name: Cachix install
2168 uses: cachix/install-nix-action@v31
2169 with:
2170 nix_path: nixpkgs=channel:nixpkgs-unstable
2171 - name: Cachix setup coq-elpi
2172 uses: cachix/cachix-action@v16
2173 with:
2174 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
2175 extraPullNames: coq, coq-community, math-comp
2176 name: coq-elpi
2177 - id: stepGetDerivation
2178 name: Getting derivation for current job (rocq-elpi-tests)
2179 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
2180 \"rocq-9.1\" --argstr job \"rocq-elpi-tests\" \\\n --dry-run 2> err > out
2181 || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting
2182 derivation failed\"; exit 1; fi\n"
2183 - id: stepCheck
2184 name: Checking presence of CI target for current job
2185 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
2186 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
2187 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
2188 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
2189 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
2190 - if: steps.stepCheck.outputs.status != 'fetched'
2191 name: 'Building/fetching previous CI target: rocq-core'
2192 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2193 "rocq-9.1" --argstr job "rocq-core"
2194 - if: steps.stepCheck.outputs.status != 'fetched'
2195 name: Building/fetching current CI target
2196 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2197 "rocq-9.1" --argstr job "rocq-elpi-tests"
2198 rocq-elpi-tests-stdlib:
2199 needs:
2200 - rocq-core
2201 - stdlib
2202 runs-on: ubuntu-latest
2203 steps:
2204 - name: Determine which commit to initially checkout
2205 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
2206 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
2207 }}\" >> $GITHUB_ENV\nfi\n"
2208 - name: Git checkout
2209 uses: actions/checkout@v6
2210 with:
2211 fetch-depth: 0
2212 ref: ${{ env.target_commit }}
2213 - name: Determine which commit to test
2214 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
2215 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
2216 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
2217 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
2218 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
2219 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
2220 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
2221 \ fi\nfi\n"
2222 - name: Git checkout
2223 uses: actions/checkout@v6
2224 with:
2225 fetch-depth: 0
2226 ref: ${{ env.tested_commit }}
2227 - name: Cachix install
2228 uses: cachix/install-nix-action@v31
2229 with:
2230 nix_path: nixpkgs=channel:nixpkgs-unstable
2231 - name: Cachix setup coq-elpi
2232 uses: cachix/cachix-action@v16
2233 with:
2234 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
2235 extraPullNames: coq, coq-community, math-comp
2236 name: coq-elpi
2237 - id: stepGetDerivation
2238 name: Getting derivation for current job (rocq-elpi-tests-stdlib)
2239 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
2240 \"rocq-9.1\" --argstr job \"rocq-elpi-tests-stdlib\" \\\n --dry-run 2> err
2241 > out || (touch fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error:
2242 getting derivation failed\"; exit 1; fi\n"
2243 - id: stepCheck
2244 name: Checking presence of CI target for current job
2245 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
2246 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
2247 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
2248 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
2249 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
2250 - if: steps.stepCheck.outputs.status != 'fetched'
2251 name: 'Building/fetching previous CI target: rocq-core'
2252 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2253 "rocq-9.1" --argstr job "rocq-core"
2254 - if: steps.stepCheck.outputs.status != 'fetched'
2255 name: 'Building/fetching previous CI target: stdlib'
2256 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2257 "rocq-9.1" --argstr job "stdlib"
2258 - if: steps.stepCheck.outputs.status != 'fetched'
2259 name: Building/fetching current CI target
2260 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2261 "rocq-9.1" --argstr job "rocq-elpi-tests-stdlib"
2262 stdlib:
2263 needs:
2264 - rocq-core
2265 runs-on: ubuntu-latest
2266 steps:
2267 - name: Determine which commit to initially checkout
2268 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
2269 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
2270 }}\" >> $GITHUB_ENV\nfi\n"
2271 - name: Git checkout
2272 uses: actions/checkout@v6
2273 with:
2274 fetch-depth: 0
2275 ref: ${{ env.target_commit }}
2276 - name: Determine which commit to test
2277 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
2278 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
2279 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
2280 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
2281 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
2282 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
2283 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
2284 \ fi\nfi\n"
2285 - name: Git checkout
2286 uses: actions/checkout@v6
2287 with:
2288 fetch-depth: 0
2289 ref: ${{ env.tested_commit }}
2290 - name: Cachix install
2291 uses: cachix/install-nix-action@v31
2292 with:
2293 nix_path: nixpkgs=channel:nixpkgs-unstable
2294 - name: Cachix setup coq-elpi
2295 uses: cachix/cachix-action@v16
2296 with:
2297 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
2298 extraPullNames: coq, coq-community, math-comp
2299 name: coq-elpi
2300 - id: stepGetDerivation
2301 name: Getting derivation for current job (stdlib)
2302 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
2303 \"rocq-9.1\" --argstr job \"stdlib\" \\\n --dry-run 2> err > out || (touch
2304 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
2305 failed\"; exit 1; fi\n"
2306 - id: stepCheck
2307 name: Checking presence of CI target for current job
2308 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
2309 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
2310 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
2311 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
2312 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
2313 - if: steps.stepCheck.outputs.status != 'fetched'
2314 name: 'Building/fetching previous CI target: rocq-core'
2315 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2316 "rocq-9.1" --argstr job "rocq-core"
2317 - if: steps.stepCheck.outputs.status != 'fetched'
2318 name: Building/fetching current CI target
2319 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2320 "rocq-9.1" --argstr job "stdlib"
2321 trakt:
2322 needs:
2323 - coq
2324 - coq-elpi
2325 - stdlib
2326 runs-on: ubuntu-latest
2327 steps:
2328 - name: Determine which commit to initially checkout
2329 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{
2330 github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha
2331 }}\" >> $GITHUB_ENV\nfi\n"
2332 - name: Git checkout
2333 uses: actions/checkout@v6
2334 with:
2335 fetch-depth: 0
2336 ref: ${{ env.target_commit }}
2337 - name: Determine which commit to test
2338 run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{
2339 github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
2340 }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
2341 merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
2342 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \"$merge_commit\"\
2343 \ -o \"x$mergeable\" != \"x0\" ]; then\n echo \"tested_commit=${{ github.event.pull_request.head.sha
2344 }}\" >> $GITHUB_ENV\n else\n echo \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n\
2345 \ fi\nfi\n"
2346 - name: Git checkout
2347 uses: actions/checkout@v6
2348 with:
2349 fetch-depth: 0
2350 ref: ${{ env.tested_commit }}
2351 - name: Cachix install
2352 uses: cachix/install-nix-action@v31
2353 with:
2354 nix_path: nixpkgs=channel:nixpkgs-unstable
2355 - name: Cachix setup coq-elpi
2356 uses: cachix/cachix-action@v16
2357 with:
2358 authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
2359 extraPullNames: coq, coq-community, math-comp
2360 name: coq-elpi
2361 - id: stepGetDerivation
2362 name: Getting derivation for current job (trakt)
2363 run: "NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
2364 \"rocq-9.1\" --argstr job \"trakt\" \\\n --dry-run 2> err > out || (touch
2365 fail; true)\ncat out err\nif [ -e fail ]; then echo \"Error: getting derivation
2366 failed\"; exit 1; fi\n"
2367 - id: stepCheck
2368 name: Checking presence of CI target for current job
2369 run: "if $(cat out err | grep -q \"built:\") ; then\n echo \"CI target needs
2370 actual building\"\n if $(cat out err | grep -q \"derivations will be built:\"\
2371 ) ; then\n echo \"waiting a bit for derivations that should be in cache\"\
2372 \n sleep 30\n fi\nelse\n echo \"CI target already built\"\n echo \"\
2373 status=fetched\" >> $GITHUB_OUTPUT\nfi\n"
2374 - if: steps.stepCheck.outputs.status != 'fetched'
2375 name: 'Building/fetching previous CI target: coq'
2376 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2377 "rocq-9.1" --argstr job "coq"
2378 - if: steps.stepCheck.outputs.status != 'fetched'
2379 name: 'Building/fetching previous CI target: coq-elpi'
2380 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2381 "rocq-9.1" --argstr job "coq-elpi"
2382 - if: steps.stepCheck.outputs.status != 'fetched'
2383 name: 'Building/fetching previous CI target: stdlib'
2384 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2385 "rocq-9.1" --argstr job "stdlib"
2386 - if: steps.stepCheck.outputs.status != 'fetched'
2387 name: Building/fetching current CI target
2388 run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
2389 "rocq-9.1" --argstr job "trakt"
2390 name: Nix CI for bundle rocq-9.1
2391 on:
2392 pull_request:
2393 paths:
2394 - .github/workflows/nix-action-rocq-9.1.yml
2395 pull_request_target:
2396 paths-ignore:
2397 - .github/workflows/nix-action-rocq-9.1.yml
2398 types:
2399 - opened
2400 - synchronize
2401 - reopened
2402 push:
2403 branches:
2404 - master