chore: update build workflow to use ubuntu-22.04-arm for device images #153
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build Devices" | |
on: | |
pull_request: | |
merge_group: | |
push: | |
branches: | |
- master | |
jobs: | |
build-thymis-controller-pi-3-sd-image: | |
runs-on: ubuntu-22.04-arm | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 | |
- uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- 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-22.04-arm | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 | |
- uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- 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-22.04-arm | |
steps: | |
- uses: actions/checkout@v4 | |
- 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: build thymis-controller-pi-5-sd-image | |
run: nix build .#thymis-controller-pi-5-sd-image --print-build-logs |