-
Notifications
You must be signed in to change notification settings - Fork 2
145 lines (137 loc) · 4.15 KB
/
generators.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
name: generators
on:
pull_request:
push:
workflow_dispatch:
jobs:
minimal:
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Clone Repository
uses: actions/checkout@v4
- name: "Build: .#minimal-iso"
run: |
nix build .#minimal-iso
# - name: Upload .#minimal-iso
# uses: actions/upload-artifact@v4
# with:
# name: minimal.iso
# path: ./result/iso/nixos.iso
- name: "Build: .#minimal-install-iso"
run: |
nix build .#minimal-install-iso
# - name: Upload .#minimal-install-iso
# uses: actions/upload-artifact@v4
# with:
# name: minimal-install.iso
# path: ./result/iso/nixos-*.iso
mishy:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: AdityaGarg8/remove-unwanted-software@v4.1
with:
verbose: 'true'
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
remove-swapfile: 'true'
# Derivations are built under /tmp
- name: Bind mount /tmp
run: |
sudo mkdir /mnt/nix /nix
sudo chmod 0755 /nix
sudo mount --bind /mnt/nix /nix
# - name: Set swap space
# 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: .#mishi-raw-efi"
run: |
nix build .#mishy-raw-efi
stashy:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: AdityaGarg8/remove-unwanted-software@v4.1
with:
verbose: 'true'
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
remove-swapfile: 'true'
# Derivations are built under /tmp
- name: Bind mount /tmp
run: |
sudo mkdir /mnt/nix /nix
sudo chmod 0755 /nix
sudo mount --bind /mnt/nix /nix
# - name: Set swap space
# uses: pierotofy/set-swap-space@master
# with:
# swap-size-gb: 10
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
extra_nix_config: "extra-platforms = aarch64-linux"
- name: Clone Repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: "Build: .#stashy-sd"
run: |
nix build .#stashy-sd
mangoshake:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: AdityaGarg8/remove-unwanted-software@v4.1
with:
verbose: 'true'
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
remove-swapfile: 'true'
# Derivations are built under /tmp
- name: Bind mount /tmp
run: |
sudo mkdir /mnt/nix /nix
sudo chmod 0755 /nix
sudo mount --bind /mnt/nix /nix
# - name: Set swap space
# uses: pierotofy/set-swap-space@master
# with:
# swap-size-gb: 10
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
extra_nix_config: "extra-platforms = aarch64-linux"
- name: Clone Repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: "Build: .#mangoshake-sd"
run: |
nix build .#mangoshake-sd