···33on:
44 push:
55 pull_request:
66+ # update-pkgs runs it on its PR branches: pushes and PRs made with
77+ # GITHUB_TOKEN don't trigger workflows, and master requires the ci check.
88+ workflow_dispatch:
69710# nix flake check evaluates every host in one process (~19 GB peak), more than
811# the 16 GB RAM of ubuntu-latest. One job per check keeps the peak at the
···5962 echo "$output:"
6063 # shellcheck disable=SC2016 # ${...} is Nix interpolation
6164 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"'
6565+ done
6666+6767+ # Fixed-name summary of the jobs above, the required status check for
6868+ # merging into master (the matrix job names change with the hosts).
6969+ ci:
7070+ needs: [list, check, outputs]
7171+ if: always()
7272+ runs-on: ubuntu-latest
7373+ steps:
7474+ - env:
7575+ RESULTS: ${{ join(needs.*.result, ' ') }}
7676+ run: |
7777+ echo "results: $RESULTS"
7878+ for r in $RESULTS; do
7979+ [ "$r" = success ] || exit 1
6280 done