Build every aarch64 package natively

Native pilots of the heavy packages fit the arm64 runner: linux-aurora 30
minutes, strata 17, obs-studio 7, with over 90 GB disk free throughout.
This commit is contained in:
Marcelo Alcantara committed 2026-09-28 00:24:12 +10:00
1 parent 7c646625c2
commit ee001efd34
2 files changed
+4 -6

No files matched your search

+3 -4
View File
@@ -162,10 +162,9 @@ jobs:
if: needs.changes.outputs.count != '0'
# The droplets are x86, so aarch64 there runs under QEMU, about 30x
# slower: omarchy-mac-boot's check() took 2h47m of the 180 minutes.
# aarch64 builds natively on GitHub's arm64 runners (4 vCPU, 16 GB),
# except the packages listed here, which stay on the 32-vCPU droplets
# until a native build of each has been shown to fit.
runs-on: ${{ (matrix.arch == 'aarch64' && !contains(fromJSON('["linux-aurora","strata","obs-studio"]'), matrix.package)) && 'ubuntu-24.04-arm' || fromJSON('["self-hosted","omarchy-builder"]') }}
# GitHub's arm64 runners (4 vCPU, 16 GB; ~100 GB disk free in our pilots)
# build it natively in 11 minutes, and linux-aurora in 30 (72 under QEMU).
runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-24.04-arm' || fromJSON('["self-hosted","omarchy-builder"]') }}
timeout-minutes: 180
strategy:
fail-fast: false
+1 -2
View File
@@ -7,8 +7,7 @@ signing on merge exactly as before.
- `.github/workflows/build-pr.yml` — on a PR touching `pkgbuilds/**`, one job
per changed package on runners labelled `omarchy-builder`. aarch64 jobs
run on GitHub's native `ubuntu-24.04-arm` runners instead, except the few
heavy packages the workflow keeps on the droplets. Uploads the unsigned
run on GitHub's native `ubuntu-24.04-arm` runners instead. Uploads the unsigned
`.pkg.tar.zst` as a workflow artifact (7 days).
- `runner-cloud-init.yaml` — Ubuntu 24.04 user-data: docker + buildx, the
GitHub runner registered `--ephemeral`, runs one job, powers off.