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:
parent
9c9473aa9b
commit
413f782176
4 changed files with 24 additions and 21 deletions
24
flake.nix
24
flake.nix
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue