Skip to content

Commit

Permalink
ci(flake): build heavy stuff sequentially
Browse files Browse the repository at this point in the history
before running nixci (which will reuse the previous builds)

Signed-off-by: Harald Hoyer <[email protected]>
  • Loading branch information
haraldh committed Mar 28, 2024
1 parent b421d40 commit e478656
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e478656

Please sign in to comment.