From e47865615b83af062a95c20b20741709e605530e Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 28 Mar 2024 12:57:26 +0100 Subject: [PATCH] ci(flake): build heavy stuff sequentially before running nixci (which will reuse the previous builds) Signed-off-by: Harald Hoyer --- .github/workflows/nix.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 8abada5e0..620c6f88a 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -30,7 +30,14 @@ jobs: - uses: DeterminateSystems/nix-installer-action@v4 - uses: DeterminateSystems/magic-nix-cache-action@main - - name: nix build + - name: nix build main + run: nix build --override-input debugBuild github:boolean-option/true -L .#main + - name: nix build cli + run: nix build --override-input debugBuild github:boolean-option/true -L .#cli + - name: nix build frontend + run: nix build --override-input debugBuild github:boolean-option/true -L .#frontend + + - name: nixci run: nix run nixpkgs#nixci -- -- --impure - name: nix check overlay