-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 1.06 KB
/
ci-build.yaml
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
name: "CI Build"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-x86:
name: Build x86 systems
runs-on: ubuntu-latest
strategy:
matrix:
configuration: ["pulse-14", "latitude-7280", "cyberoffice", "watchtower"]
steps:
- name: Free disk space
uses: jlumbroso/free-disk-space@main
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- run: nix build .#nixosConfigurations.${{ matrix.configuration }}.config.system.build.toplevel
build-iso:
name: Build ISOs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- run: nix build .#nixosConfigurations.minimalServerIso.config.system.build.isoImage
build-darwin:
name: Build darwin systems
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- run: nix build .#darwinConfigurations.WQ0C6FWJ1W.config.system.build.toplevel