mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
ci: build all profiles
Now we're going to build all of it for the sake of faster installations.
This commit is contained in:
parent
3cee4ed9fb
commit
15f1a83562
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -33,9 +33,8 @@ jobs:
|
|||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
- name: Build custom packages
|
- name: Build custom packages
|
||||||
run: nix build -f ./pkgs --impure
|
run: nix build -f ./pkgs --impure
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
build-hosts:
|
build-profiles:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -44,7 +43,12 @@ jobs:
|
|||||||
nix_path: nixpkgs=channel:nixos-unstable
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
keep-going = true
|
keep-going = true
|
||||||
- name: Build NixOS configurations
|
- name: Build Nix profiles
|
||||||
run: |
|
run: |
|
||||||
nix build .#nixosConfigurations.ni.config.system.build.toplevel --impure
|
for nixosHost in ni graphical-installer bootstrap; do
|
||||||
continue-on-error: true
|
nix build ".#nixosConfigurations.${nixosHost}.config.system.build.toplevel" --impure
|
||||||
|
done
|
||||||
|
|
||||||
|
for homeManagerConfig in foo-dogsquared; do
|
||||||
|
nix build ".#homeManagerConfigurations.${homeManagerConfig}.activationPackage" --impure
|
||||||
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user