@@ -246,7 +246,6 @@ jobs:
246246 - coq
247247 - mathcomp-algebra
248248 - bignums
249- - paramcoq
250249 - multinomials
251250 - mathcomp-real-closed
252251 runs-on : ubuntu-latest
@@ -308,10 +307,6 @@ jobs:
308307 name : ' Building/fetching previous CI target: bignums'
309308 run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
310309 --argstr job "bignums"
311- - if : steps.stepCheck.outputs.status == 'built'
312- name : ' Building/fetching previous CI target: paramcoq'
313- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
314- --argstr job "paramcoq"
315310 - if : steps.stepCheck.outputs.status == 'built'
316311 name : ' Building/fetching previous CI target: multinomials'
317312 run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
@@ -1980,64 +1975,6 @@ jobs:
19801975 name : Building/fetching current CI target
19811976 run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
19821977 --argstr job "odd-order"
1983- paramcoq :
1984- needs :
1985- - coq
1986- runs-on : ubuntu-latest
1987- steps :
1988- - name : Determine which commit to initially checkout
1989- run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" target_commit=${{
1990- github.sha }}\" >> $GITHUB_ENV\n else\n echo \" target_commit=${{ github.event.pull_request.head.sha
1991- }}\" >> $GITHUB_ENV\n fi\n "
1992- - name : Git checkout
1993- uses : actions/checkout@v4
1994- with :
1995- fetch-depth : 0
1996- ref : ${{ env.target_commit }}
1997- - name : Determine which commit to test
1998- run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" tested_commit=${{
1999- github.sha }}\" >> $GITHUB_ENV\n else\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
2000- }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
2001- merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
2002- 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \" $merge_commit\" \
2003- \ -o \" x$mergeable\" != \" x0\" ]; then\n echo \" tested_commit=${{ github.event.pull_request.head.sha
2004- }}\" >> $GITHUB_ENV\n else\n echo \" tested_commit=$merge_commit\" >> $GITHUB_ENV\n \
2005- \ fi\n fi\n "
2006- - name : Git checkout
2007- uses : actions/checkout@v4
2008- with :
2009- fetch-depth : 0
2010- ref : ${{ env.tested_commit }}
2011- - name : Cachix install
2012- uses : cachix/install-nix-action@v30
2013- with :
2014- nix_path : nixpkgs=channel:nixpkgs-unstable
2015- - name : Cachix setup math-comp
2016- uses : cachix/cachix-action@v15
2017- with :
2018- authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
2019- extraPullNames : coq, coq-community
2020- name : math-comp
2021- - id : stepGetDerivation
2022- name : Getting derivation for current job (paramcoq)
2023- run : " NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
2024- \" coq-master\" --argstr job \" paramcoq\" \\\n --dry-run 2> err > out ||
2025- (touch fail; true)\n "
2026- - name : Error reporting
2027- run : " echo \" out=\" ; cat out\n echo \" err=\" ; cat err\n "
2028- - name : Failure check
2029- run : if [ -e fail ]; then exit 1; else exit 0; fi;
2030- - id : stepCheck
2031- name : Checking presence of CI target for current job
2032- run : (echo -n status=; cat out err | grep "built:" | sed "s/.*/built/") >> $GITHUB_OUTPUT
2033- - if : steps.stepCheck.outputs.status == 'built'
2034- name : ' Building/fetching previous CI target: coq'
2035- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
2036- --argstr job "coq"
2037- - if : steps.stepCheck.outputs.status == 'built'
2038- name : Building/fetching current CI target
2039- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-master"
2040- --argstr job "paramcoq"
20411978 reglang :
20421979 needs :
20431980 - coq
0 commit comments