@@ -7778,60 +7778,6 @@ jobs:
77787778 name : Building/fetching current CI target
77797779 run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "rocq-9.0"
77807780 --argstr job "stdlib-refman-html"
7781- stdlib-test :
7782- needs : []
7783- runs-on : ubuntu-latest
7784- steps :
7785- - name : Determine which commit to initially checkout
7786- run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" target_commit=${{
7787- github.sha }}\" >> $GITHUB_ENV\n else\n echo \" target_commit=${{ github.event.pull_request.head.sha
7788- }}\" >> $GITHUB_ENV\n fi\n "
7789- - name : Git checkout
7790- uses : actions/checkout@v4
7791- with :
7792- fetch-depth : 0
7793- ref : ${{ env.target_commit }}
7794- - name : Determine which commit to test
7795- run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" tested_commit=${{
7796- github.sha }}\" >> $GITHUB_ENV\n else\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
7797- }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
7798- merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
7799- 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \" $merge_commit\" \
7800- \ -o \" x$mergeable\" != \" x0\" ]; then\n echo \" tested_commit=${{ github.event.pull_request.head.sha
7801- }}\" >> $GITHUB_ENV\n else\n echo \" tested_commit=$merge_commit\" >> $GITHUB_ENV\n \
7802- \ fi\n fi\n "
7803- - name : Git checkout
7804- uses : actions/checkout@v4
7805- with :
7806- fetch-depth : 0
7807- ref : ${{ env.tested_commit }}
7808- - name : Cachix install
7809- uses : cachix/install-nix-action@v31
7810- with :
7811- nix_path : nixpkgs=channel:nixpkgs-unstable
7812- - name : Cachix setup coq
7813- uses : cachix/cachix-action@v16
7814- with :
7815- authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
7816- extraPullNames : coq-community, math-comp
7817- name : coq
7818- - id : stepGetDerivation
7819- name : Getting derivation for current job (stdlib-test)
7820- run : " NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
7821- \" rocq-9.0\" --argstr job \" stdlib-test\" \\\n --dry-run 2> err > out ||
7822- (touch fail; true)\n cat out err\n if [ -e fail ]; then echo \" Error: getting
7823- derivation failed\" ; exit 1; fi\n "
7824- - id : stepCheck
7825- name : Checking presence of CI target for current job
7826- run : " if $(cat out err | grep -q \" built:\" ) ; then\n echo \" CI target needs
7827- actual building\"\n if $(cat out err | grep -q \" derivations will be built:\" \
7828- ) ; then\n echo \" waiting a bit for derivations that should be in cache\" \
7829- \n sleep 30\n fi\n else\n echo \" CI target already built\"\n echo \" \
7830- status=fetched\" >> $GITHUB_OUTPUT\n fi\n "
7831- - if : steps.stepCheck.outputs.status != 'fetched'
7832- name : Building/fetching current CI target
7833- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "rocq-9.0"
7834- --argstr job "stdlib-test"
78357781 stdpp :
78367782 needs :
78377783 - coq
0 commit comments