diff options
author | Bastien Nocera <hadess@hadess.net> | 2019-08-20 16:20:04 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2019-08-20 16:25:06 +0200 |
commit | c3cf72f45b80647c1ab7dc13ce56ae2d5e80d4f4 (patch) | |
tree | b00bb36fc8b3600580b356154046ac23cea417eb /.gitlab-ci.yml | |
parent | 21487a3f302fcae51eededdfa695e2f776747205 (diff) | |
download | shared-mime-info-c3cf72f45b80647c1ab7dc13ce56ae2d5e80d4f4.tar.gz |
ci: Generate the spec in the CI
To verify that the modified spec has a valid syntax, as done in:
https://gitlab.freedesktop.org/xdg/xdg-specs/blob/master/web-export/update.py
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 60e8fec6..1e6098ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,12 +2,14 @@ image: fedora:rawhide variables: DEPENDENCIES: gcc gcc-c++ glibc-devel make libxml2-devel glib2-devel - automake autoconf gettext intltool git + automake autoconf gettext intltool git xmlto build: before_script: - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES script: + # Generate spec + - xmlto -o shared-mime-info-spec-html/ html-nochunks shared-mime-info-spec.xml # Compile xdgmime - git clone https://gitlab.freedesktop.org/xdg/xdgmime.git - cd xdgmime |