1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

Merge pull request #11354 from DeterminateSystems/speed-up-ci

Speed up GHA CI
This commit is contained in:
Eelco Dolstra 2024-08-22 17:46:44 +02:00 committed by GitHub
commit a66fa0850d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -189,13 +189,15 @@
# system, we should reenable this. # system, we should reenable this.
#perlBindings = self.hydraJobs.perlBindings.${system}; #perlBindings = self.hydraJobs.perlBindings.${system};
} }
/*
# Add "passthru" tests # Add "passthru" tests
// flatMapAttrs ({ // flatMapAttrs ({
"" = nixpkgsFor.${system}.native; "" = nixpkgsFor.${system}.native;
} // lib.optionalAttrs (! nixpkgsFor.${system}.native.stdenv.hostPlatform.isDarwin) { } // lib.optionalAttrs (! nixpkgsFor.${system}.native.stdenv.hostPlatform.isDarwin) {
# TODO: enable static builds for darwin, blocked on: # TODO: enable static builds for darwin, blocked on:
# https://github.com/NixOS/nixpkgs/issues/320448 # https://github.com/NixOS/nixpkgs/issues/320448
"static-" = nixpkgsFor.${system}.static; # TODO: disabled to speed up GHA CI.
#"static-" = nixpkgsFor.${system}.static;
}) })
(nixpkgsPrefix: nixpkgs: (nixpkgsPrefix: nixpkgs:
flatMapAttrs nixpkgs.nixComponents flatMapAttrs nixpkgs.nixComponents
@ -209,6 +211,7 @@
"${nixpkgsPrefix}nix-functional-tests" = nixpkgs.nixComponents.nix-functional-tests; "${nixpkgsPrefix}nix-functional-tests" = nixpkgs.nixComponents.nix-functional-tests;
} }
) )
*/
// devFlake.checks.${system} or {} // devFlake.checks.${system} or {}
); );