ci: add generic kernel check

This runs 'kconfig generate' for all archs that the generic kernels
support in order to make sure that kconfig-generic.toml changes are
valid for everything for the kernels it would apply to. This is meant
to catch kconfig changes that might introduce options that don't exist
on some kernel/arch combos or that might be missing other kconfig
dependencies.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9250>
This commit is contained in:
Clayton Craft
2026-08-05 13:20:24 +00:00
parent 261faf7b89
commit b0953c42d9
2 changed files with 91 additions and 0 deletions
+14
View File
@@ -154,6 +154,20 @@ kernel-kconfig:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/kconfig.sh
# validate generic kernel kconfig
generate-all-kconfigs:
stage: lint
rules:
- if: *mr_rule
changes:
- kconfig-generic.toml
script:
- .ci/check-generic-kconfig.sh
artifacts:
when: always
paths:
- kconfig-*.log
# Verify checksums
verify-checksums:
stage: lint