-
Notifications
You must be signed in to change notification settings - Fork 3
71 lines (68 loc) · 2.52 KB
/
build-devices.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
name: "Build Devices"
on:
pull_request:
merge_group:
push:
branches:
- master
jobs:
build-thymis-controller-pi-3-sd-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dbhi/qus/action@main
with:
targets: aarch64
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
extra_nix_config: |
system-features = kvm
extra-trusted-public-keys = cache.thymis.io-1:pEeKkNXiK17TLKls0KM8cEp0NGy08gc5chAmCyuQo8M=
extra-substituters = https://cache.thymis.io
extra-platforms = aarch64-linux
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: pin nixpkgs
run: nix registry add nixpkgs github:NixOS/nixpkgs/nixos-24.11
- name: build thymis-controller-pi-3-sd-image
run: nix build .#thymis-controller-pi-3-sd-image --print-build-logs
build-thymis-controller-pi-4-sd-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dbhi/qus/action@main
with:
targets: aarch64
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
extra_nix_config: |
system-features = kvm
extra-trusted-public-keys = cache.thymis.io-1:pEeKkNXiK17TLKls0KM8cEp0NGy08gc5chAmCyuQo8M=
extra-substituters = https://cache.thymis.io
extra-platforms = aarch64-linux
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: pin nixpkgs
run: nix registry add nixpkgs github:NixOS/nixpkgs/nixos-24.11
- name: build thymis-controller-pi-4-sd-image
run: nix build .#thymis-controller-pi-4-sd-image --print-build-logs
build-thymis-controller-pi-5-sd-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dbhi/qus/action@main
with:
targets: aarch64
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
extra_nix_config: |
system-features = kvm
extra-trusted-public-keys = cache.thymis.io-1:pEeKkNXiK17TLKls0KM8cEp0NGy08gc5chAmCyuQo8M=
extra-substituters = https://cache.thymis.io
extra-platforms = aarch64-linux
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: pin nixpkgs
run: nix registry add nixpkgs github:NixOS/nixpkgs/nixos-24.11
- name: build thymis-controller-pi-5-sd-image
run: nix build .#thymis-controller-pi-5-sd-image --print-build-logs