ci: add nightly compile matrix workflow#51
Merged
Conversation
Adds .github/workflows/nightly-compile-matrix.yml. Every night at 04:17 UTC (and on workflow_dispatch with a custom kernel list) the matrix builds every recipe's pinned SRCREV against linux 6.6.93, 6.12.30 and 6.14.4 on GitHub-hosted runners. SRC_URI / SRCREV / branch are parsed out of the .bb recipes so the job always tracks the layer's actual shipping configuration — i.e. it goes red when a new kernel ships and breaks the pinned commit, not when some upstream tip-of-branch develops unrelated issues. Existing parse + fetch CI doesn't compile-test the drivers at all, so per-kernel-version fixes were rotting silently between manual test runs. This closes that gap. A complementary upstream-drift workflow that tests tip-of-branch (catches the *opposite* signal: upstream broke vs. our pins are fine) is left for a follow-up.
12a4fa2 to
34e47be
Compare
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.
Adds .github/workflows/nightly-compile-matrix.yml: every night (04:17 UTC) builds every driver against linux 6.6.93, 6.12.30 and 6.14.4 from upstream tip-of-branch / our forks' tip. Manually dispatchable with a custom kernel list.
Goal: catch the moment upstream drifts away from kernel API compatibility, rather than waiting for a user to hit it on a Yocto build. The existing parse + fetch CI doesn't cover that; the per-kernel-version compile fixes in PRs #48 / #49 / #50 would silently rot otherwise.
Includes a temporary pull_request trigger so this PR exercises the matrix end-to-end. Will revert that trigger before merge so the workflow only fires on cron + manual dispatch on master going forward.