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