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