ci: Fix dist-job missing gobject/gio documentation

This requires meson >= 0.47.0 otherwise building the doc fails:
https://github.com/mesonbuild/meson/issues/3379

While at it, no need to to pass --prefix --libdir to meson, other CIs
don't have them.
This commit is contained in:
Xavier Claessens 2018-06-18 09:47:39 -04:00
parent 9d73ea8975
commit 543a9c4f33
2 changed files with 3 additions and 3 deletions

View File

@ -120,10 +120,10 @@ dist-job:
only:
- tags
script:
- meson --prefix /usr --libdir /usr/lib64 --buildtype release -Dgtk_doc=true -Dman=true _build .
- meson --buildtype release -Dgtk_doc=true -Dman=true _build
- cd _build
- ninja dist
- ninja glib-doc
- ninja glib-doc gobject-doc gio-doc
- tar -c -f "glib-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/glib html
- tar -c -f "gobject-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/gobject html
- tar -c -f "gio-docs-$CI_COMMIT_TAG.tar.xz" -C docs/reference/gio html

View File

@ -1,6 +1,6 @@
project('glib', 'c', 'cpp',
version : '2.57.1',
meson_version : '>= 0.46.1',
meson_version : '>= 0.47.0',
default_options : [
'buildtype=debugoptimized',
'warning_level=1',