11.stylix/docs/src
Daniel Thwaites 20117a58eb
ci: run all builds in a single job (#1069)
This works around GitHub's limit on the number of matrix jobs (fixes
#947), by running all builds in a single job. To maintain some speed, we
use `nix-fast-build`, which uses multiple cores for evaluation, and skips
any builds for which the final derivation is already in a binary cache.

Although this makes the run for an individual pull request slower, the
amount of duplicated work is greatly reduced: previously, we often had
100 machines building the same derivation in parallel. This means that
more runners are available should there be multiple pull requests opened
in a short space of time, so there is less queuing. It's also more
energy efficient.

A potential downside is that the logs are all merged together, so it can
be hard to find what failed when lots of outputs were built.
`nix-fast-build` does report a list of failed attributes at the end of
the log, but this is currently broken:
https://github.com/Mic92/nix-fast-build/pull/98

The script used to launch `nix-fast-build` is also added to the
developer shell for local use. This replaces the old `nix-flake-check`
package (closes #898).

I also saw the opportunity to enable checks on `aarch64-linux` and
`aarch64-darwin` - as these are available as GitHub hosted runners.
2025-03-30 12:26:07 +01:00
..
options/platforms doc: format and polish Nix code according to our formatter (#1025) 2025-03-26 13:58:03 +00:00
commit_convention.md doc: fix two titles not using sentence case (#769) 2025-01-12 19:34:45 +01:00
configuration.md doc: format and polish Nix code according to our formatter (#1025) 2025-03-26 13:58:03 +00:00
development_environment.md ci: run all builds in a single job (#1069) 2025-03-30 12:26:07 +01:00
installation.md doc: format and polish Nix code according to our formatter (#1025) 2025-03-26 13:58:03 +00:00
modules.md doc: format and polish Nix code according to our formatter (#1025) 2025-03-26 13:58:03 +00:00
styling.md treewide: add and apply typos pre-commit hook 2025-01-04 17:45:52 +01:00
SUMMARY.md doc: implement custom option list generation (#955) 2025-03-14 19:04:49 +01:00
testbed_gnome_default_dark.png stylix: parametrize and change testbed field separator (#887) 2025-02-23 18:17:59 +00:00
testbeds.md doc: format and polish Nix code according to our formatter (#1025) 2025-03-26 13:58:03 +00:00
tricks.md doc: format and polish Nix code according to our formatter (#1025) 2025-03-26 13:58:03 +00:00