mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
Merge pull request #304730 from K900/bigger-paralleler
pkgs/top-level: split release-checks into a separate job
This commit is contained in:
commit
8f9e7071ff
2
.github/workflows/basic-eval.yml
vendored
2
.github/workflows/basic-eval.yml
vendored
|
@ -26,4 +26,4 @@ jobs:
|
|||
name: nixpkgs-ci
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
# explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset
|
||||
- run: nix-build pkgs/top-level/release.nix -A tarball.nixpkgs-basic-release-checks --arg supportedSystems '[ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]'
|
||||
- run: nix-build pkgs/top-level/release.nix -A release-checks --arg supportedSystems '[ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]'
|
||||
|
|
|
@ -168,7 +168,10 @@ in rec {
|
|||
(onFullSupported "nixpkgs.emacs")
|
||||
(onFullSupported "nixpkgs.jdk")
|
||||
(onSystems ["x86_64-linux"] "nixpkgs.mesa_i686") # i686 sanity check + useful
|
||||
["nixpkgs.tarball"]
|
||||
[
|
||||
"nixpkgs.tarball"
|
||||
"nixpkgs.release-checks"
|
||||
]
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -103,6 +103,7 @@ in rec {
|
|||
[
|
||||
"nixos.channel"
|
||||
"nixpkgs.tarball"
|
||||
"nixpkgs.release-checks"
|
||||
]
|
||||
(map (onSystems [ "x86_64-linux" ]) [
|
||||
"nixos.tests.boot.biosCdrom"
|
||||
|
|
|
@ -34,9 +34,6 @@ pkgs.releaseTools.sourceTarball {
|
|||
|
||||
requiredSystemFeatures = [ "big-parallel" ]; # 1 thread but ~36G RAM (!) see #227945
|
||||
|
||||
nixpkgs-basic-release-checks = import ./nixpkgs-basic-release-checks.nix
|
||||
{ inherit nix pkgs nixpkgs supportedSystems; };
|
||||
|
||||
dontBuild = false;
|
||||
|
||||
doCheck = true;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ supportedSystems, nixpkgs, pkgs, nix }:
|
||||
{ supportedSystems, nixpkgs, pkgs }:
|
||||
|
||||
pkgs.runCommand "nixpkgs-release-checks"
|
||||
{
|
||||
src = nixpkgs;
|
||||
buildInputs = [ nix ];
|
||||
buildInputs = [ pkgs.nix ];
|
||||
requiredSystemFeatures = [ "big-parallel" ]; # 1 thread but ~10G RAM; see #227945
|
||||
}
|
||||
''
|
||||
|
|
|
@ -80,6 +80,8 @@ let
|
|||
nonPackageJobs =
|
||||
{ tarball = import ./make-tarball.nix { inherit pkgs nixpkgs officialRelease supportedSystems; };
|
||||
|
||||
release-checks = import ./nixpkgs-basic-release-checks.nix { inherit pkgs nixpkgs supportedSystems; };
|
||||
|
||||
metrics = import ./metrics.nix { inherit pkgs nixpkgs; };
|
||||
|
||||
manual = import ../../doc { inherit pkgs nixpkgs; };
|
||||
|
@ -91,6 +93,7 @@ let
|
|||
meta.description = "Release-critical builds for the Nixpkgs darwin channel";
|
||||
constituents =
|
||||
[ jobs.tarball
|
||||
jobs.release-checks
|
||||
jobs.cabal2nix.x86_64-darwin
|
||||
jobs.ghc.x86_64-darwin
|
||||
jobs.git.x86_64-darwin
|
||||
|
@ -140,6 +143,7 @@ let
|
|||
meta.description = "Release-critical builds for the Nixpkgs unstable channel";
|
||||
constituents =
|
||||
[ jobs.tarball
|
||||
jobs.release-checks
|
||||
jobs.metrics
|
||||
jobs.manual
|
||||
jobs.lib-tests
|
||||
|
|
Loading…
Reference in a new issue