diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2019-11-26 12:59:49 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2019-11-26 13:45:43 +1000 |
commit | 77e49674e2344e2c6ffc4b76ec4d33f97a40a73e (patch) | |
tree | 52acff444c1d237ba53038b6eb559a3a955f19cf /.gitlab-ci.yml | |
parent | cad889e050c8e5c800a2dfd0e33a71dcc80f8901 (diff) | |
download | xkeyboard-config-77e49674e2344e2c6ffc4b76ec4d33f97a40a73e.tar.gz |
gitlab CI: add an extra job to validate the installed XML files
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 03b5139..1b008e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -59,6 +59,18 @@ make_distcheck: variables: MAKE_EXTRA_COMMAND: "distcheck" +xmllint: + image: archlinux/base + dependencies: ['make_install'] + needs: ['make_install'] + stage: test + before_script: + - pacman -S --refresh + - pacman -S --sysupgrade --noconfirm + - pacman -S --noconfirm libxml2 + script: + - xmllint --dtdvalid "$INSTDIR/share/X11/xkb/rules/xkb.dtd" $INSTDIR/share/X11/xkb/rules/*.xml > /dev/null + # download libxkbcommon and run its layout test program. This will # run a basic keymap compile test against every combination of # layout/variant/option. Syntax errors will fail the test, check the |