diff options
author | Bastien Nocera <hadess@hadess.net> | 2019-08-20 16:20:04 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2019-08-20 17:07:31 +0200 |
commit | 2c1cf55fd356e5d1e6c3654cb33c4cfc5b402aa7 (patch) | |
tree | 21cbd6377a5f125d9ee0b70f22c51bcd91454ca3 /.gitlab-ci.yml | |
parent | e17785cd77d17c3deb23e16198ab4652a97706b1 (diff) | |
download | shared-mime-info-2c1cf55fd356e5d1e6c3654cb33c4cfc5b402aa7.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 76a2a038..1312a216 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 findutils + automake autoconf gettext intltool git xmlto findutils 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 |