mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-06-03 17:08:08 -04:00
Add xml/yaml linting
This commit is contained in:
parent
f608441b03
commit
f7f07e53e0
@ -18,3 +18,5 @@ image_json_validate:
|
|||||||
- Linux
|
- Linux
|
||||||
script:
|
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"
|
- 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
|
||||||
|
14
.kde-ci.yml
14
.kde-ci.yml
@ -1,11 +1,11 @@
|
|||||||
Dependencies:
|
Dependencies:
|
||||||
- 'on': ['Linux', 'FreeBSD', 'macOS', 'Windows', 'Android']
|
- 'on': ['Linux', 'FreeBSD', 'macOS', 'Windows', 'Android']
|
||||||
'require':
|
'require':
|
||||||
'frameworks/extra-cmake-modules': '@same'
|
'frameworks/extra-cmake-modules': '@same'
|
||||||
'frameworks/karchive' : '@same'
|
'frameworks/karchive': '@same'
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
test-before-installing: True
|
test-before-installing: True
|
||||||
require-passing-tests-on: [ 'Linux', 'FreeBSD', 'Windows' ]
|
require-passing-tests-on: ['Linux', 'FreeBSD', 'Windows']
|
||||||
cmake-options: "-DKIMAGEFORMATS_DDS=ON -DKIMAGEFORMATS_JXR=ON"
|
cmake-options: "-DKIMAGEFORMATS_DDS=ON -DKIMAGEFORMATS_JXR=ON"
|
||||||
per-test-timeout: 90
|
per-test-timeout: 90
|
||||||
|
Loading…
x
Reference in New Issue
Block a user