Stop building any ghaf targets directly on github-hosted runners in the build.yml workflow. Instead, delegate all builds to remote builders as configured in github action variable BUILDER_MACHINE_CONFIG. Currently, all builds will be delegated to hetzarm.vedenemo.dev (aarch64) and build4.vedenemo.dev (x86_64). We hope this change also makes it possible to start building ghaf's biggest targets (package-lenovo-x1-carbon-gen11-debug and package-generic-x86_64-debug) in the build.yml github action. Adding those targets to the build.yml will be done later in a follow-up PR.
Make builds in build.yml start using binary caches as configured in the ghaf flake by setting the accept-flake-config = true and by making the github action user 'runner' a nix trusted user on the github hosted runner. This way, we don't have to change the build.yml every time we change the binary cache config in ghaf flake, but the github action builds will automatically follow the ghaf flake configuration.
Update cachix/install-nix-action on all workflows to its current latest version.
Description of changes
build.yml
workflow. Instead, delegate all builds to remote builders as configured in github action variableBUILDER_MACHINE_CONFIG
. Currently, all builds will be delegated tohetzarm.vedenemo.dev
(aarch64) andbuild4.vedenemo.dev
(x86_64). We hope this change also makes it possible to start building ghaf's biggest targets (package-lenovo-x1-carbon-gen11-debug
andpackage-generic-x86_64-debug
) in thebuild.yml
github action. Adding those targets to thebuild.yml
will be done later in a follow-up PR.build.yml
start using binary caches as configured in the ghaf flake by setting theaccept-flake-config = true
and by making the github action user 'runner
' a nix trusted user on the github hosted runner. This way, we don't have to change thebuild.yml
every time we change the binary cache config in ghaf flake, but the github action builds will automatically follow the ghaf flake configuration.cachix/install-nix-action
on all workflows to its current latest version.This change was tested in a fork at: https://github.com/henrirosten/ghaf.
Checklist for things done
x86_64
aarch64
riscv64
make-checks
and it passesnixos-rebuild ... switch
Instructions for Testing