Move all workflow builds to remote builders #865
+8
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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