1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 11:36:03 +01:00

ci: Run sanitizer tests in a separate job

This should speed up the CI somewhat by parallelizing
the work across the matrix of configurations.
This commit is contained in:
Sergei Zimmerman 2025-07-28 23:07:59 +03:00
parent 9c9473aa9b
commit 413f782176
No known key found for this signature in database
4 changed files with 24 additions and 21 deletions

View file

@ -337,25 +337,11 @@
# Add "passthru" tests
//
flatMapAttrs
(
{
"" = {
pkgs = nixpkgsFor.${system}.native;
};
}
// lib.optionalAttrs (!nixpkgsFor.${system}.native.stdenv.hostPlatform.isDarwin) {
# TODO: enable static builds for darwin, blocked on:
# https://github.com/NixOS/nixpkgs/issues/320448
# TODO: disabled to speed up GHA CI.
# "static-" = {
# pkgs = nixpkgsFor.${system}.native.pkgsStatic;
# };
"sanitized-" = {
pkgs = nixpkgsFor.${system}.native;
withSanitizers = true;
};
}
)
{
"" = {
pkgs = nixpkgsFor.${system}.native;
};
}
(
nixpkgsPrefix: args:
(import ./ci/gha/tests (