-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 953 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
35
36
37
38
39
name: Exhaustive Flake Test
on:
workflow_dispatch:
push:
branches:
- staging
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
outputs: [
'nixosConfigurations.LAPTOP-3DT4F02.config.system.build.toplevel',
'nixosConfigurations.DESKTOP-3DT4F02.config.system.build.toplevel',
'nixosConfigurations.ISO-3DT4F02.config.system.build.isoImage'
]
steps:
- name: Free Disk Space
uses: jlumbroso/free-disk-space@v1.3.1
- name: Checkout Repository
uses: actions/checkout@v4.2.2
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
allow-import-from-derivation = false
eval-cache = false
extra-experimental-features = pipe-operators
- run:
nix flake check
- run:
nix build '.#${{ matrix.outputs }}'