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