@@ -2684,6 +2684,63 @@ jobs:
26842684 name : Building/fetching current CI target
26852685 run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "8.17" --argstr
26862686 job "mathcomp-finmap"
2687+ mathcomp-infotheo :
2688+ needs :
2689+ - coq
2690+ - mathcomp-analysis
2691+ runs-on : ubuntu-latest
2692+ steps :
2693+ - name : Determine which commit to initially checkout
2694+ run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" target_commit=${{\
2695+ \ github.sha }}\" >> $GITHUB_ENV\n else\n echo \" target_commit=${{ github.event.pull_request.head.sha\
2696+ \ }}\" >> $GITHUB_ENV\n fi\n "
2697+ - name : Git checkout
2698+ uses : actions/checkout@v3
2699+ with :
2700+ fetch-depth : 0
2701+ ref : ${{ env.target_commit }}
2702+ - name : Determine which commit to test
2703+ run : " if [ ${{ github.event_name }} = \" push\" ]; then\n echo \" tested_commit=${{\
2704+ \ github.sha }}\" >> $GITHUB_ENV\n else\n merge_commit=$(git ls-remote ${{\
2705+ \ github.event.repository.html_url }} refs/pull/${{ github.event.number }}/merge\
2706+ \ | cut -f1)\n mergeable=$(git merge --no-commit --no-ff ${{ github.event.pull_request.base.sha\
2707+ \ }} > /dev/null 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n \
2708+ \ if [ -z \" $merge_commit\" -o \" x$mergeable\" != \" x0\" ]; then\n echo\
2709+ \ \" tested_commit=${{ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n \
2710+ \ else\n echo \" tested_commit=$merge_commit\" >> $GITHUB_ENV\n fi\n fi\n "
2711+ - name : Git checkout
2712+ uses : actions/checkout@v3
2713+ with :
2714+ fetch-depth : 0
2715+ ref : ${{ env.tested_commit }}
2716+ - name : Cachix install
2717+ uses : cachix/install-nix-action@v20
2718+ with :
2719+ nix_path : nixpkgs=channel:nixpkgs-unstable
2720+ - name : Cachix setup coq-community
2721+ uses : cachix/cachix-action@v12
2722+ with :
2723+ authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
2724+ extraPullNames : coq, math-comp
2725+ name : coq-community
2726+ - id : stepCheck
2727+ name : Checking presence of CI target mathcomp-infotheo
2728+ run : " nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
2729+ \ bundle \" 8.17\" --argstr job \" mathcomp-infotheo\" \\\n --dry-run 2>&1\
2730+ \ > /dev/null)\n echo $nb_dry_run\n echo ::set-output name=status::$(echo $nb_dry_run\
2731+ \ | grep \" built:\" | sed \" s/.*/built/\" )\n "
2732+ - if : steps.stepCheck.outputs.status == 'built'
2733+ name : ' Building/fetching previous CI target: coq'
2734+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "8.17" --argstr
2735+ job "coq"
2736+ - if : steps.stepCheck.outputs.status == 'built'
2737+ name : ' Building/fetching previous CI target: mathcomp-analysis'
2738+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "8.17" --argstr
2739+ job "mathcomp-analysis"
2740+ - if : steps.stepCheck.outputs.status == 'built'
2741+ name : Building/fetching current CI target
2742+ run : NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "8.17" --argstr
2743+ job "mathcomp-infotheo"
26872744 mathcomp-real-closed :
26882745 needs :
26892746 - coq
0 commit comments