Skip to content

flake: Factor out checks into ci/gha/tests for reusability#13566

Merged
Mic92 merged 1 commit intoNixOS:masterfrom
xokdvium:refactor-ci-tests
Jul 28, 2025
Merged

flake: Factor out checks into ci/gha/tests for reusability#13566
Mic92 merged 1 commit intoNixOS:masterfrom
xokdvium:refactor-ci-tests

Conversation

@xokdvium
Copy link
Contributor

Motivation

This moves out the checks that get run in GHA CI into ci/gha/tests folder and splits those into topLevel and componentTests attributes. The idea behind this is to make it easier to parametrize tests that can be run with sanitizers in order to run those as a matrix of jobs. The same can be said for static builds.

Existing stdenv selection infrastructure via lib.makeComponents would also allow us to switch over to using clangStdenv to significantly speed up pre-merge CI (though the default stdenv would still be used for non-overridable topLevel checks, like installer artifacts).

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

This moves out the checks that get run in GHA CI into ci/gha/tests
folder and splits those into `topLevel` and `componentTests` attributes.
The idea behind this is to make it easier to parametrize tests that can
be run with sanitizers in order to run those as a matrix of jobs. The same
can be said for static builds.

Existing stdenv selection infrastructure via `lib.makeComponents` would
also allow us to switch over to using `clangStdenv` to significantly speed
up pre-merge CI (though the default stdenv would still be used for non-overridable
topLevel checks, like installer artifacts).
@xokdvium xokdvium requested a review from edolstra as a code owner July 28, 2025 18:47
@xokdvium xokdvium requested review from Mic92 and roberth July 28, 2025 18:54
@Mic92 Mic92 enabled auto-merge July 28, 2025 19:01
@Mic92 Mic92 merged commit 9c9473a into NixOS:master Jul 28, 2025
13 checks passed
@xokdvium xokdvium deleted the refactor-ci-tests branch August 5, 2025 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants