This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

ci: add a fixed-name ci summary job for the master ruleset

+18
+18
.github/workflows/ci.yml
··· 3 3 on: 4 4 push: 5 5 pull_request: 6 + # update-pkgs runs it on its PR branches: pushes and PRs made with 7 + # GITHUB_TOKEN don't trigger workflows, and master requires the ci check. 8 + workflow_dispatch: 6 9 7 10 # nix flake check evaluates every host in one process (~19 GB peak), more than 8 11 # the 16 GB RAM of ubuntu-latest. One job per check keeps the peak at the ··· 59 62 echo "$output:" 60 63 # shellcheck disable=SC2016 # ${...} is Nix interpolation 61 64 nix eval --raw ".#$output.x86_64-linux" --apply 'xs: builtins.deepSeq (builtins.mapAttrs (_: x: x.drvPath) xs) "${toString (builtins.length (builtins.attrNames xs))} evaluated\n"' 65 + done 66 + 67 + # Fixed-name summary of the jobs above, the required status check for 68 + # merging into master (the matrix job names change with the hosts). 69 + ci: 70 + needs: [list, check, outputs] 71 + if: always() 72 + runs-on: ubuntu-latest 73 + steps: 74 + - env: 75 + RESULTS: ${{ join(needs.*.result, ' ') }} 76 + run: | 77 + echo "results: $RESULTS" 78 + for r in $RESULTS; do 79 + [ "$r" = success ] || exit 1 62 80 done