-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 877 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Exhaustive Flake Test
on:
workflow_dispatch:
push:
branches:
- staging
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Free Disk Space
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: true
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
allow-import-from-derivation = false
eval-cache = false
- name: Run Flake Check
run: nix flake check
- name: Build NixOS Configurations
run: |
nix build '.#nixosConfigurations.LAPTOP-3DT4F02.config.system.build.toplevel'
nix build '.#nixosConfigurations.DESKTOP-3DT4F02.config.system.build.toplevel'
nix build '.#nixosConfigurations.ISO-3DT4F02.config.system.build.isoImage'