From f7f07e53e0283d2a12dfe8c44788889091de5bff Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sat, 25 Jan 2025 13:40:54 +0100 Subject: [PATCH] Add xml/yaml linting --- .gitlab-ci.yml | 2 ++ .kde-ci.yml | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 889ad50..007b5c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,3 +18,5 @@ image_json_validate: - Linux script: - find src/imageformats/ -name *.json | xargs -I file bash -c "echo file && jq -e '(.Keys | type == \"array\") and (.MimeTypes | type == \"array\") and (.MimeTypes | length) == (.Keys | length)' file" + - /gitlab-templates/xml-lint.yml + - /gitlab-templates/yaml-lint.yml diff --git a/.kde-ci.yml b/.kde-ci.yml index 8919827..7937499 100644 --- a/.kde-ci.yml +++ b/.kde-ci.yml @@ -1,11 +1,11 @@ Dependencies: -- 'on': ['Linux', 'FreeBSD', 'macOS', 'Windows', 'Android'] - 'require': + - 'on': ['Linux', 'FreeBSD', 'macOS', 'Windows', 'Android'] + 'require': 'frameworks/extra-cmake-modules': '@same' - 'frameworks/karchive' : '@same' + 'frameworks/karchive': '@same' Options: - test-before-installing: True - require-passing-tests-on: [ 'Linux', 'FreeBSD', 'Windows' ] - cmake-options: "-DKIMAGEFORMATS_DDS=ON -DKIMAGEFORMATS_JXR=ON" - per-test-timeout: 90 + test-before-installing: True + require-passing-tests-on: ['Linux', 'FreeBSD', 'Windows'] + cmake-options: "-DKIMAGEFORMATS_DDS=ON -DKIMAGEFORMATS_JXR=ON" + per-test-timeout: 90