ci: build all profiles

Now we're going to build all of it for the sake of faster installations.
This commit is contained in:
Gabriel Arazas 2022-09-21 14:07:41 +08:00
parent 3cee4ed9fb
commit 15f1a83562

View File

@ -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