@@ -564,65 +564,6 @@ jobs:
564564 name : Building/fetching current CI target
565565 run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
566566 " master" --argstr job "rocq-elpi"
567- stdlib :
568- needs :
569- - rocq-core
570- runs-on : ubuntu-latest
571- steps :
572- - name : Determine which commit to initially checkout
573- run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" target_commit=${{
574- github.sha }}\" >> $GITHUB_ENV\n else\n echo \" target_commit=${{ github.event.pull_request.head.sha
575- }}\" >> $GITHUB_ENV\n fi\n "
576- - name : Git checkout
577- uses : actions/checkout@v6
578- with :
579- fetch-depth : 0
580- ref : ${{ env.target_commit }}
581- - name : Determine which commit to test
582- run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" tested_commit=${{
583- github.sha }}\" >> $GITHUB_ENV\n else\n merge_commit=$(git ls-remote ${{ github.event.repository.html_url
584- }} refs/pull/${{ github.event.number }}/merge | cut -f1)\n mergeable=$(git
585- merge --no-commit --no-ff ${{ github.event.pull_request.base.sha }} > /dev/null
586- 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n if [ -z \" $merge_commit\" \
587- \ -o \" x$mergeable\" != \" x0\" ]; then\n echo \" tested_commit=${{ github.event.pull_request.head.sha
588- }}\" >> $GITHUB_ENV\n else\n echo \" tested_commit=$merge_commit\" >> $GITHUB_ENV\n \
589- \ fi\n fi\n "
590- - name : Git checkout
591- uses : actions/checkout@v6
592- with :
593- fetch-depth : 0
594- ref : ${{ env.tested_commit }}
595- - name : Cachix install
596- uses : cachix/install-nix-action@v31
597- with :
598- nix_path : nixpkgs=channel:nixpkgs-unstable
599- - name : Cachix setup math-comp
600- uses : cachix/cachix-action@v16
601- with :
602- authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
603- extraPullNames : coq, coq-community
604- name : math-comp
605- - id : stepGetDerivation
606- name : Getting derivation for current job (stdlib)
607- run : " NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr bundle
608- \" master\" --argstr job \" stdlib\" \\\n --dry-run 2> err > out || (touch
609- fail; true)\n cat out err\n if [ -e fail ]; then echo \" Error: getting derivation
610- failed\" ; exit 1; fi\n "
611- - id : stepCheck
612- name : Checking presence of CI target for current job
613- run : " if $(cat out err | grep -q \" built:\" ) ; then\n echo \" CI target needs
614- actual building\"\n if $(cat out err | grep -q \" derivations will be built:\" \
615- ) ; then\n echo \" waiting a bit for derivations that should be in cache\" \
616- \n sleep 30\n fi\n else\n echo \" CI target already built\"\n echo \" \
617- status=fetched\" >> $GITHUB_OUTPUT\n fi\n "
618- - if : steps.stepCheck.outputs.status != 'fetched'
619- name : ' Building/fetching previous CI target: rocq-core'
620- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
621- " master" --argstr job "rocq-core"
622- - if : steps.stepCheck.outputs.status != 'fetched'
623- name : Building/fetching current CI target
624- run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle
625- " master" --argstr job "stdlib"
626567name : Nix CI for bundle master
627568on :
628569 pull_request :
0 commit comments