Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build() error
Build compiles ephemerd for the current OS/arch. On Windows this requires the two-stage build (Linux binary + rootfs embed).
func ForgeRunner ¶
func ForgeRunner() error
ForgeRunner compiles the Forgejo Actions runner for the current OS/arch.
func GiteaRunner ¶
func GiteaRunner() error
GiteaRunner compiles the Gitea Actions runner for the current OS/arch.
func Install ¶
func Install() error
Install builds ephemerd and installs it to ~/bin, re-signing on macOS.
func Linuxembed ¶
func Linuxembed() error
Linuxembed cross-compiles a static Linux ephemerd binary for embedding.
func Linuxembedarm64 ¶
func Linuxembedarm64() error
Linuxembedarm64 cross-compiles a static Linux ephemerd binary for arm64 embedding. Temporarily removes non-Linux runners from pkg/runner/embed/ so they don't get embedded in the Linux binary (which only needs the Linux runner).
func Macos ¶
func Macos() error
Macos performs the Darwin build with embedded Linux VM assets: 1. Download aarch64 rootfs, kernel, and initrd 2. Cross-compile static Linux binary (linux/arm64) 3. Build macOS binary embedding all VM assets 4. Ad-hoc codesign with the virtualization entitlement (Vz requires it)
func Runners ¶
func Runners()
Runners compiles both ephemerd-runner-forgejo and ephemerd-runner-gitea for the current OS/arch.
func RunnersAll ¶
func RunnersAll() error
RunnersAll cross-compiles ephemerd-runner-forgejo and ephemerd-runner-gitea for all release platforms. Outputs go to dist/<name>-<os>-<arch>[.exe].
Types ¶
This section is empty.