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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user