mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +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 }}'
|
||||
- name: Build custom packages
|
||||
run: nix build -f ./pkgs --impure
|
||||
continue-on-error: true
|
||||
|
||||
build-hosts:
|
||||
build-profiles:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -44,7 +43,12 @@ jobs:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
extra_nix_config: |
|
||||
keep-going = true
|
||||
- name: Build NixOS configurations
|
||||
- name: Build Nix profiles
|
||||
run: |
|
||||
nix build .#nixosConfigurations.ni.config.system.build.toplevel --impure
|
||||
continue-on-error: true
|
||||
for nixosHost in ni graphical-installer bootstrap; do
|
||||
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