-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (43 loc) · 1.31 KB
/
machines.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
40
41
42
43
44
45
name: machines
on:
pull_request:
push:
workflow_dispatch:
jobs:
mishy:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: AdityaGarg8/remove-unwanted-software@v4.1
with:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 10
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Clone Repository
uses: actions/checkout@v4
- name: Build .#mishy
run: |
nix build .#nixosConfigurations.mishy.config.system.build.toplevel
clawsiecats:
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Clone Repository
uses: actions/checkout@v4
- name: Build .#clawsiecats-minimal
run: |
nix build .#nixosConfigurations.clawsiecats-minimal.config.system.build.toplevel
- name: Build .#clawsiecats
run: |
nix build .#nixosConfigurations.clawsiecats.config.system.build.toplevel
- name: Build .#clawsiecats-luks
run: |
nix build .#nixosConfigurations.clawsiecats-luks.config.system.build.toplevel