@@ -5008,60 +5008,6 @@ jobs:
50085008 name : Building/fetching current CI target
50095009 run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
50105010 " rocq-9.1" --argstr job "stdlib-refman-html"
5011- stdlib-warnings :
5012- needs : []
5013- runs-on : ubuntu-latest
5014- steps :
5015- - name : Determine which commit to initially checkout
5016- run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" target_commit=${{
5017- github.sha }}\" >> $GITHUB_ENV\n else\n echo \" target_commit=${{ github.event.pull_request.head.sha
5018- }}\" >> $GITHUB_ENV\n fi\n "
5019- - name : Git checkout
5020- uses : actions/checkout@v6
5021- with :
5022- fetch-depth : 0
5023- ref : ${{ env.target_commit }}
5024- - name : Determine which commit to test
5025- run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" tested_commit=${{
5026- github.sha }}\" >> $GITHUB_ENV\n else\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
5027- }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
5028- merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
5029- 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \" $merge_commit\" \
5030- \ -o \" x$mergeable\" != \" x0\" ]; then\n echo \" tested_commit=${{ github.event.pull_request.head.sha
5031- }}\" >> $GITHUB_ENV\n else\n echo \" tested_commit=$merge_commit\" >> $GITHUB_ENV\n \
5032- \ fi\n fi\n "
5033- - name : Git checkout
5034- uses : actions/checkout@v6
5035- with :
5036- fetch-depth : 0
5037- ref : ${{ env.tested_commit }}
5038- - name : Cachix install
5039- uses : cachix/install-nix-action@v31
5040- with :
5041- nix_path : nixpkgs=channel:nixpkgs-unstable
5042- - name : Cachix setup coq
5043- uses : cachix/cachix-action@v16
5044- with :
5045- authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
5046- extraPullNames : coq-community, math-comp
5047- name : coq
5048- - id : stepGetDerivation
5049- name : Getting derivation for current job (stdlib-warnings)
5050- run : " NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
5051- \" rocq-9.1\" --argstr job \" stdlib-warnings\" \\\n --dry-run 2> err > out
5052- || (touch fail; true)\n cat out err\n if [ -e fail ]; then echo \" Error: getting
5053- derivation failed\" ; exit 1; fi\n "
5054- - id : stepCheck
5055- name : Checking presence of CI target for current job
5056- run : " if $(cat out err | grep -q \" built:\" ) ; then\n echo \" CI target needs
5057- actual building\"\n if $(cat out err | grep -q \" derivations will be built:\" \
5058- ) ; then\n echo \" waiting a bit for derivations that should be in cache\" \
5059- \n sleep 30\n fi\n else\n echo \" CI target already built\"\n echo \" \
5060- status=fetched\" >> $GITHUB_OUTPUT\n fi\n "
5061- - if : steps.stepCheck.outputs.status != 'fetched'
5062- name : Building/fetching current CI target
5063- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
5064- " rocq-9.1" --argstr job "stdlib-warnings"
50655011 stdpp :
50665012 needs :
50675013 - coq
0 commit comments