Merge pull request #304730 from K900/bigger-paralleler

pkgs/top-level: split release-checks into a separate job

authored by K900 and committed by GitHub 8f9e7071 3557bbcc

+12 -7
+1 -1
.github/workflows/basic-eval.yml
··· 26 name: nixpkgs-ci 27 signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' 28 # explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset 29 - - 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" ]'
··· 26 name: nixpkgs-ci 27 signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' 28 # explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset 29 + - run: nix-build pkgs/top-level/release.nix -A release-checks --arg supportedSystems '[ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]'
+4 -1
nixos/release-combined.nix
··· 168 (onFullSupported "nixpkgs.emacs") 169 (onFullSupported "nixpkgs.jdk") 170 (onSystems ["x86_64-linux"] "nixpkgs.mesa_i686") # i686 sanity check + useful 171 - ["nixpkgs.tarball"] 172 ]; 173 }; 174 }
··· 168 (onFullSupported "nixpkgs.emacs") 169 (onFullSupported "nixpkgs.jdk") 170 (onSystems ["x86_64-linux"] "nixpkgs.mesa_i686") # i686 sanity check + useful 171 + [ 172 + "nixpkgs.tarball" 173 + "nixpkgs.release-checks" 174 + ] 175 ]; 176 }; 177 }
+1
nixos/release-small.nix
··· 103 [ 104 "nixos.channel" 105 "nixpkgs.tarball" 106 ] 107 (map (onSystems [ "x86_64-linux" ]) [ 108 "nixos.tests.boot.biosCdrom"
··· 103 [ 104 "nixos.channel" 105 "nixpkgs.tarball" 106 + "nixpkgs.release-checks" 107 ] 108 (map (onSystems [ "x86_64-linux" ]) [ 109 "nixos.tests.boot.biosCdrom"
-3
pkgs/top-level/make-tarball.nix
··· 34 35 requiredSystemFeatures = [ "big-parallel" ]; # 1 thread but ~36G RAM (!) see #227945 36 37 - nixpkgs-basic-release-checks = import ./nixpkgs-basic-release-checks.nix 38 - { inherit nix pkgs nixpkgs supportedSystems; }; 39 - 40 dontBuild = false; 41 42 doCheck = true;
··· 34 35 requiredSystemFeatures = [ "big-parallel" ]; # 1 thread but ~36G RAM (!) see #227945 36 37 dontBuild = false; 38 39 doCheck = true;
+2 -2
pkgs/top-level/nixpkgs-basic-release-checks.nix
··· 1 - { supportedSystems, nixpkgs, pkgs, nix }: 2 3 pkgs.runCommand "nixpkgs-release-checks" 4 { 5 src = nixpkgs; 6 - buildInputs = [ nix ]; 7 requiredSystemFeatures = [ "big-parallel" ]; # 1 thread but ~10G RAM; see #227945 8 } 9 ''
··· 1 + { supportedSystems, nixpkgs, pkgs }: 2 3 pkgs.runCommand "nixpkgs-release-checks" 4 { 5 src = nixpkgs; 6 + buildInputs = [ pkgs.nix ]; 7 requiredSystemFeatures = [ "big-parallel" ]; # 1 thread but ~10G RAM; see #227945 8 } 9 ''
+4
pkgs/top-level/release.nix
··· 80 nonPackageJobs = 81 { tarball = import ./make-tarball.nix { inherit pkgs nixpkgs officialRelease supportedSystems; }; 82 83 metrics = import ./metrics.nix { inherit pkgs nixpkgs; }; 84 85 manual = import ../../doc { inherit pkgs nixpkgs; }; ··· 91 meta.description = "Release-critical builds for the Nixpkgs darwin channel"; 92 constituents = 93 [ jobs.tarball 94 jobs.cabal2nix.x86_64-darwin 95 jobs.ghc.x86_64-darwin 96 jobs.git.x86_64-darwin ··· 140 meta.description = "Release-critical builds for the Nixpkgs unstable channel"; 141 constituents = 142 [ jobs.tarball 143 jobs.metrics 144 jobs.manual 145 jobs.lib-tests
··· 80 nonPackageJobs = 81 { tarball = import ./make-tarball.nix { inherit pkgs nixpkgs officialRelease supportedSystems; }; 82 83 + release-checks = import ./nixpkgs-basic-release-checks.nix { inherit pkgs nixpkgs supportedSystems; }; 84 + 85 metrics = import ./metrics.nix { inherit pkgs nixpkgs; }; 86 87 manual = import ../../doc { inherit pkgs nixpkgs; }; ··· 93 meta.description = "Release-critical builds for the Nixpkgs darwin channel"; 94 constituents = 95 [ jobs.tarball 96 + jobs.release-checks 97 jobs.cabal2nix.x86_64-darwin 98 jobs.ghc.x86_64-darwin 99 jobs.git.x86_64-darwin ··· 143 meta.description = "Release-critical builds for the Nixpkgs unstable channel"; 144 constituents = 145 [ jobs.tarball 146 + jobs.release-checks 147 jobs.metrics 148 jobs.manual 149 jobs.lib-tests