Repository navigation
ci: build the kernel on every pull request - #143
Draft
alexandermerritt wants to merge 3 commits into
Draft
alexandermerritt wants to merge 3 commits into
alexandermerritt wants to merge 3 commits into
Conversation
A Kconfig dependency the series no longer satisfies shows up before any compiling, so a pull request check can report it without paying for a build. --config-only stops after the required options are confirmed enabled. Without it the script builds vmlinux as before.
The nightly builds the host config, but the zone kernel every zone boots is only built by the weekly image build in linux-kernel-oci. Merge zone.config from linux-kernel-oci over defconfig, as it does, and build the boot image and the modules it publishes. Debug info is left out, as it is most of the cost of a build.
Until now a change that breaks the build was found by the nightly rebase, after it had merged. Add a kconfig job that checks the Edera options survive Kconfig resolution, without compiling, and a zone job that builds the zone kernel. Both run for x86_64 and arm64 on pull requests and pushes to edera/** branches, with no path filter so they can be required checks.
Author
|
build still takes 22min... too much |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A change that breaks the kernel build is currently found by the nightly rebase, after it has merged. This builds the kernel when a change is proposed. Part of ENG-317.
linux-kernel-ociconfig on x86_64 and arm64, without debug info.The arm64 build has not run anywhere yet, so this PR is its first test. The workflow is only on
edera/mainline;edera/6.18-ltsneeds it separately.