summaryrefslogtreecommitdiff
path: root/.azure-pipelines.yml
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-13 08:56:39 -0700
committerSimon Glass <sjg@chromium.org>2023-02-14 09:43:27 -0700
commit441a3d0a7a0302ad0292a7b32feb07c3b8143409 (patch)
tree3d4b0161f7e943206a693d8a333b744ffe26cc38 /.azure-pipelines.yml
parent48be546b70f509d8ac02288fd5069913ec9196f3 (diff)
downloadu-boot-441a3d0a7a0302ad0292a7b32feb07c3b8143409.tar.gz
CI: Add a check for pre-schema driver model tags
These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r--.azure-pipelines.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 947c400f8d..8327edf87a 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -213,6 +213,18 @@ stages:
export PYTHONPATH=${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt
make pylint_err
+ - job: check_for_pre_schema_tags
+ displayName: 'Check for pre-schema driver model tags'
+ pool:
+ vmImage: $(ubuntu_vm)
+ container:
+ image: $(ci_runner_image)
+ options: $(container_option)
+ steps:
+ # If grep succeeds and finds a match the test fails as we should
+ # have no matches.
+ - script: git grep u-boot,dm- -- '*.dts*' && exit 1 || exit 0
+
- stage: test_py
jobs:
- job: test_py