Commit 2c1cf55f authored by Bastien Nocera's avatar Bastien Nocera
Browse files

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
parent e17785cd
Pipeline #57535 passed with stage
in 2 minutes and 59 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment