aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2024-02-22 15:05:57 +0530
committerTom Rini <trini@konsulko.com>2024-02-29 12:38:41 -0500
commita9f4a5574943ae3ba4a6442dc158983f74f93b84 (patch)
tree527a65b624d7db01abe815e57292c72da567f399
parentdbe9334e5125efcf8a825e7c5c924e2780e609e3 (diff)
downloadu-boot-a9f4a5574943ae3ba4a6442dc158983f74f93b84.zip
u-boot-a9f4a5574943ae3ba4a6442dc158983f74f93b84.tar.gz
u-boot-a9f4a5574943ae3ba4a6442dc158983f74f93b84.tar.bz2
CI: Exclude devicetree-rebasing subtree for CONFIG checks
Since devicetree-rebasing is an external repo with its own coding style, exclude it from Azure and gitlab CI CONFIG checks. Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
-rw-r--r--.azure-pipelines.yml3
-rw-r--r--.gitlab-ci.yml3
2 files changed, 4 insertions, 2 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index e264678..1d73215a 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -65,7 +65,8 @@ stages:
# have no matches.
- script: git grep -E '^#[[:blank:]]*(define|undef)[[:blank:]]*CONFIG_'
:^doc/ :^arch/arm/dts/ :^scripts/kconfig/lkc.h
- :^include/linux/kconfig.h :^tools/ && exit 1 || exit 0
+ :^include/linux/kconfig.h :^tools/ :^dts/upstream/ &&
+ exit 1 || exit 0
- job: docs
displayName: 'Build documentation'
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 278a2e2..8bfbadd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -161,7 +161,8 @@ check for new CONFIG symbols outside Kconfig:
# have no matches.
- git grep -E '^#[[:blank:]]*(define|undef)[[:blank:]]*CONFIG_'
:^doc/ :^arch/arm/dts/ :^scripts/kconfig/lkc.h
- :^include/linux/kconfig.h :^tools/ && exit 1 || exit 0
+ :^include/linux/kconfig.h :^tools/ :^dts/upstream/ &&
+ exit 1 || exit 0
# build documentation
docs: