Build-only builds for Aurora Silicon work on cloud arm64 runners, so they do
not load the shared buildbox. One workflow_dispatch workflow,
build.yml, builds from any ref of an
aurora-silicon repository and returns the result as a workflow artifact (kept
7 days). It publishes, signs and pushes nothing, holds no secrets and runs with
a read-only token.
| target | default source | output |
|---|---|---|
kernel |
aurora-silicon/linux |
Image-<krel>.gz, modules-<krel>.tar.zst, dtbs-<krel>.tar.zst, config-, System.map-, Module.symvers-, build-info.txt, SHA256SUMS |
mesa |
aurora-silicon/mesa |
mesa-overlay-<sha12>-fc<44|45>-aarch64.tar.zst (asahi Gallium + Vulkan, /usr prefix, release, b_ndebug=true), build-info.txt, SHA256SUMS |
Inputs:
ref: commit SHA, branch or tag in the source repository (required).repo: anotheraurora-silicon/<name>source, for example a fork branch mirror.config: kernel:fleet(default:aurora_defconfig asahi.config, the release configuration) or any make config targets, such asdefconfig asahi.config. Mesa: the Fedora release to build in,44(default) or45. The Mac's Fedora release must match, because the overlay links that release's LLVM.extra: kernel: extra make variables (KEY=VALUE); Mesa: extra meson options (-Dname=value).runner:ubuntu-24.04-arm(default; GitHub-hosted, 4 vCPU, shares the organisation's 20-job hosted limit with PR CI),namespace-profile-linux-arm64-8x16(needs the Namespace app enabled for this repository) oraurora-gcp-arm64(32-core Axion; needs this workflow on that runner group's allowlist). Until those two are enabled, a kernel builds fastest through linux'skernel-release.yml(cloud-build.sh ... release).label: free text for the run name, such as your lane name.
The kernel job uses the toolchain pins (LLVM, Rust, bindgen, pahole) from the
source tree's .github/workflows/kernel-release.yml, or the fleet defaults in
this workflow when the tree has none.
For the release build of the fleet configuration (with the QEMU module smoke
test), use linux's own kernel-release.yml with publish=none;
cloud-build.sh does that with --release.
work/swarm/tools/cloud-build.sh on the store dispatches a build, waits for it,
and downloads the artifact. Run it with -h for the options.
cloud-build.sh linux <sha|branch> kernel # fleet config
cloud-build.sh linux <sha> kernel --config "defconfig asahi.config"
cloud-build.sh linux --src <worktree> kernel # uncommitted changes too
cloud-build.sh mesa <sha|branch> mesa --fedora 44A ref that is not on GitHub yet (a local commit or a dirty worktree, --src)
is pushed to a temporary cloud-build/<sha12> branch of the source repository,
which is deleted after the build. In linux that branch name triggers no
workflow.