Skip to content

Commit

Permalink
CI: Break up build more
Browse files Browse the repository at this point in the history
  • Loading branch information
Sukant Hajra committed Jul 15, 2024
1 parent cdddf39 commit 75a0411
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
pkgs-linux:
strategy:
matrix:
infra: [nixpkgs, haskell-nix, shajra]
infra: [nixpkgs.lower, nixpkgs.middle, nixpkgs.upper, haskell-nix, shajra]
name: "pkgs-linux: ${{ matrix.infra }}"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -34,7 +34,7 @@ jobs:
pkgs-darwin:
strategy:
matrix:
infra: [nixpkgs, haskell-nix, shajra]
infra: [nixpkgs.lower, nixpkgs.middle, nixpkgs.upper, haskell-nix, shajra]
name: "pkgs-darwin: ${{ matrix.infra }}"
needs: [pkgs-linux]
runs-on: macos-latest
Expand Down
4 changes: 3 additions & 1 deletion build/overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ let
ci.prebuilt.nixpkgs.upper = joinForCi "prebuilt-nixpkgs" isUpper build.pkgs.nixpkgs.prebuilt;
ci.prebuilt.haskell-nix = joinForCi "prebuilt-haskellnix" isAny build.pkgs.haskell-nix.prebuilt;
ci.prebuilt.shajra = joinForCi "prebuilt-shajra" isAny build.pkgs.shajra.prebuilt;
ci.build.nixpkgs = joinForCi "build-nixpkgs" isAny build.pkgs.nixpkgs.build;
ci.build.nixpkgs.lower = joinForCi "build-nixpkgs" isLower build.pkgs.nixpkgs.build;
ci.build.nixpkgs.middle = joinForCi "build-nixpkgs" isMiddle build.pkgs.nixpkgs.build;
ci.build.nixpkgs.upper = joinForCi "build-nixpkgs" isUpper build.pkgs.nixpkgs.build;
ci.build.haskell-nix = joinForCi "build-haskellnix" isAny build.pkgs.haskell-nix.build;
ci.build.shajra = joinForCi "build-shajra" isAny build.pkgs.shajra.build;
ci.all = joinForCi "all" isAny build.pkgs;
Expand Down
4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@
checks.ci-prebuilt-nixpkgs-upper = build.shajra-provision.ci.prebuilt.nixpkgs.upper;
checks.ci-prebuilt-haskellnix = build.shajra-provision.ci.prebuilt.haskell-nix;
checks.ci-prebuilt-shajra = build.shajra-provision.ci.prebuilt.shajra;
checks.ci-build-nixpkgs = build.shajra-provision.ci.build.nixpkgs;
checks.ci-build-nixpkgs-lower = build.shajra-provision.ci.build.nixpkgs.lower;
checks.ci-build-nixpkgs-middle = build.shajra-provision.ci.build.nixpkgs.middle;
checks.ci-build-nixpkgs-upper = build.shajra-provision.ci.build.nixpkgs.upper;
checks.ci-build-haskellnix = build.shajra-provision.ci.build.haskell-nix;
checks.ci-build-shajra = build.shajra-provision.ci.build.shajra;
packages.shajra-nixos-rebuild = pkgs-system.shajra-nixos-rebuild;
Expand Down

0 comments on commit 75a0411

Please sign in to comment.