Repository navigation
ci: check builds compile through ccache; a tag's two builds start clean - #17
Merged
Merged
Conversation
…the actions cache; a tag's two builds start clean
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.
What and why
A check build compiled the whole kernel every time, about 22 minutes, even for a change to one driver.
CCACHE_DIR=/work/out/ccacheto phoenix'sbuild-tree.sh, which then compiles through ccache (feat: build-tree.sh compiles through ccache when CCACHE_DIR is set phoenix#25).ccache-<headset>-*cache this run may read: its own branch's, its base's, or the default branch's.CCACHE_DIR: they are the reproducibility test.It takes effect once the build image brings ccache (overpressure/builder#4, released and pinned in overpressure). Until then
build-tree.shwarns and builds as before. The kernel's sources don't change, so this PR's build is found by its key and takes seconds.Checks
Hardware
Not needed. The first two check builds of a kernel change after all parts are in show the hit rate.