@@ -521,6 +521,85 @@ jobs:
521521 name : Building/fetching current CI target
522522 run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
523523 " coq-master" --argstr job "mathcomp-algebra"
524+ mathcomp-algebra-tactics :
525+ needs :
526+ - coq
527+ - mathcomp-ssreflect
528+ - mathcomp-algebra
529+ - coq-elpi
530+ - mathcomp-zify
531+ runs-on : ubuntu-latest
532+ steps :
533+ - name : Determine which commit to initially checkout
534+ run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" target_commit=${{
535+ github.sha }}\" >> $GITHUB_ENV\n else\n echo \" target_commit=${{ github.event.pull_request.head.sha
536+ }}\" >> $GITHUB_ENV\n fi\n "
537+ - name : Git checkout
538+ uses : actions/checkout@v4
539+ with :
540+ fetch-depth : 0
541+ ref : ${{ env.target_commit }}
542+ - name : Determine which commit to test
543+ run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" tested_commit=${{
544+ github.sha }}\" >> $GITHUB_ENV\n else\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
545+ }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
546+ merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
547+ 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \" $merge_commit\" \
548+ \ -o \" x$mergeable\" != \" x0\" ]; then\n echo \" tested_commit=${{ github.event.pull_request.head.sha
549+ }}\" >> $GITHUB_ENV\n else\n echo \" tested_commit=$merge_commit\" >> $GITHUB_ENV\n \
550+ \ fi\n fi\n "
551+ - name : Git checkout
552+ uses : actions/checkout@v4
553+ with :
554+ fetch-depth : 0
555+ ref : ${{ env.tested_commit }}
556+ - name : Cachix install
557+ uses : cachix/install-nix-action@v31
558+ with :
559+ nix_path : nixpkgs=channel:nixpkgs-unstable
560+ - name : Cachix setup coq-elpi
561+ uses : cachix/cachix-action@v16
562+ with :
563+ authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
564+ extraPullNames : coq, coq-community, math-comp
565+ name : coq-elpi
566+ - id : stepGetDerivation
567+ name : Getting derivation for current job (mathcomp-algebra-tactics)
568+ run : " NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
569+ \" coq-master\" --argstr job \" mathcomp-algebra-tactics\" \\\n --dry-run
570+ 2> err > out || (touch fail; true)\n cat out err\n if [ -e fail ]; then echo
571+ \" Error: getting derivation failed\" ; exit 1; fi\n "
572+ - id : stepCheck
573+ name : Checking presence of CI target for current job
574+ run : " if $(cat out err | grep -q \" built:\" ) ; then\n echo \" CI target needs
575+ actual building\"\n if $(cat out err | grep -q \" derivations will be built:\" \
576+ ) ; then\n echo \" waiting a bit for derivations that should be in cache\" \
577+ \n sleep 30\n fi\n else\n echo \" CI target already built\"\n echo \" \
578+ status=fetched\" >> $GITHUB_OUTPUT\n fi\n "
579+ - if : steps.stepCheck.outputs.status != 'fetched'
580+ name : ' Building/fetching previous CI target: coq'
581+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
582+ " coq-master" --argstr job "coq"
583+ - if : steps.stepCheck.outputs.status != 'fetched'
584+ name : ' Building/fetching previous CI target: mathcomp-ssreflect'
585+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
586+ " coq-master" --argstr job "mathcomp-ssreflect"
587+ - if : steps.stepCheck.outputs.status != 'fetched'
588+ name : ' Building/fetching previous CI target: mathcomp-algebra'
589+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
590+ " coq-master" --argstr job "mathcomp-algebra"
591+ - if : steps.stepCheck.outputs.status != 'fetched'
592+ name : ' Building/fetching previous CI target: coq-elpi'
593+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
594+ " coq-master" --argstr job "coq-elpi"
595+ - if : steps.stepCheck.outputs.status != 'fetched'
596+ name : ' Building/fetching previous CI target: mathcomp-zify'
597+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
598+ " coq-master" --argstr job "mathcomp-zify"
599+ - if : steps.stepCheck.outputs.status != 'fetched'
600+ name : Building/fetching current CI target
601+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
602+ " coq-master" --argstr job "mathcomp-algebra-tactics"
524603 mathcomp-analysis :
525604 needs :
526605 - coq
@@ -1675,6 +1754,85 @@ jobs:
16751754 name : Building/fetching current CI target
16761755 run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
16771756 " coq-master" --argstr job "mathcomp-ssreflect"
1757+ mathcomp-zify :
1758+ needs :
1759+ - coq
1760+ - mathcomp-boot
1761+ - mathcomp-algebra
1762+ - mathcomp-fingroup
1763+ - stdlib
1764+ runs-on : ubuntu-latest
1765+ steps :
1766+ - name : Determine which commit to initially checkout
1767+ run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" target_commit=${{
1768+ github.sha }}\" >> $GITHUB_ENV\n else\n echo \" target_commit=${{ github.event.pull_request.head.sha
1769+ }}\" >> $GITHUB_ENV\n fi\n "
1770+ - name : Git checkout
1771+ uses : actions/checkout@v4
1772+ with :
1773+ fetch-depth : 0
1774+ ref : ${{ env.target_commit }}
1775+ - name : Determine which commit to test
1776+ run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" tested_commit=${{
1777+ github.sha }}\" >> $GITHUB_ENV\n else\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
1778+ }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
1779+ merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
1780+ 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \" $merge_commit\" \
1781+ \ -o \" x$mergeable\" != \" x0\" ]; then\n echo \" tested_commit=${{ github.event.pull_request.head.sha
1782+ }}\" >> $GITHUB_ENV\n else\n echo \" tested_commit=$merge_commit\" >> $GITHUB_ENV\n \
1783+ \ fi\n fi\n "
1784+ - name : Git checkout
1785+ uses : actions/checkout@v4
1786+ with :
1787+ fetch-depth : 0
1788+ ref : ${{ env.tested_commit }}
1789+ - name : Cachix install
1790+ uses : cachix/install-nix-action@v31
1791+ with :
1792+ nix_path : nixpkgs=channel:nixpkgs-unstable
1793+ - name : Cachix setup coq-elpi
1794+ uses : cachix/cachix-action@v16
1795+ with :
1796+ authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
1797+ extraPullNames : coq, coq-community, math-comp
1798+ name : coq-elpi
1799+ - id : stepGetDerivation
1800+ name : Getting derivation for current job (mathcomp-zify)
1801+ run : " NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
1802+ \" coq-master\" --argstr job \" mathcomp-zify\" \\\n --dry-run 2> err > out
1803+ || (touch fail; true)\n cat out err\n if [ -e fail ]; then echo \" Error: getting
1804+ derivation failed\" ; exit 1; fi\n "
1805+ - id : stepCheck
1806+ name : Checking presence of CI target for current job
1807+ run : " if $(cat out err | grep -q \" built:\" ) ; then\n echo \" CI target needs
1808+ actual building\"\n if $(cat out err | grep -q \" derivations will be built:\" \
1809+ ) ; then\n echo \" waiting a bit for derivations that should be in cache\" \
1810+ \n sleep 30\n fi\n else\n echo \" CI target already built\"\n echo \" \
1811+ status=fetched\" >> $GITHUB_OUTPUT\n fi\n "
1812+ - if : steps.stepCheck.outputs.status != 'fetched'
1813+ name : ' Building/fetching previous CI target: coq'
1814+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1815+ " coq-master" --argstr job "coq"
1816+ - if : steps.stepCheck.outputs.status != 'fetched'
1817+ name : ' Building/fetching previous CI target: mathcomp-boot'
1818+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1819+ " coq-master" --argstr job "mathcomp-boot"
1820+ - if : steps.stepCheck.outputs.status != 'fetched'
1821+ name : ' Building/fetching previous CI target: mathcomp-algebra'
1822+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1823+ " coq-master" --argstr job "mathcomp-algebra"
1824+ - if : steps.stepCheck.outputs.status != 'fetched'
1825+ name : ' Building/fetching previous CI target: mathcomp-fingroup'
1826+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1827+ " coq-master" --argstr job "mathcomp-fingroup"
1828+ - if : steps.stepCheck.outputs.status != 'fetched'
1829+ name : ' Building/fetching previous CI target: stdlib'
1830+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1831+ " coq-master" --argstr job "stdlib"
1832+ - if : steps.stepCheck.outputs.status != 'fetched'
1833+ name : Building/fetching current CI target
1834+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
1835+ " coq-master" --argstr job "mathcomp-zify"
16781836 multinomials :
16791837 needs :
16801838 - coq
0 commit comments