mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-12 10:45:13 +01:00
ci: Enable -Dintrospection for dist builds
This means that the documentation can actually be generated, which was broken before. Building the documentation requires `enable_gir`. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
53c197bd61
commit
f2488ef526
@ -848,17 +848,23 @@ pages:
|
|||||||
- public
|
- public
|
||||||
|
|
||||||
dist-job:
|
dist-job:
|
||||||
image: $FEDORA_IMAGE
|
extends:
|
||||||
|
- .build-linux
|
||||||
|
- .with-git
|
||||||
|
image: "${FEDORA_IMAGE}"
|
||||||
stage: build
|
stage: build
|
||||||
|
before_script:
|
||||||
|
- !reference [".build-linux", "before_script"]
|
||||||
|
- !reference [".with-git", "before_script"]
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
script:
|
script:
|
||||||
# Ignore extra git security checks as we don't care in CI.
|
- meson setup ${MESON_COMMON_OPTIONS}
|
||||||
- git config --global --add safe.directory "${PWD}"
|
--buildtype release
|
||||||
- git submodule update --init
|
-Ddocumentation=true
|
||||||
- for m in $(git submodule foreach -q 'echo $path'); do git config --global --add safe.directory "${PWD}/${m}"; done
|
-Dintrospection=enabled
|
||||||
- meson subprojects download
|
-Dman-pages=enabled
|
||||||
- meson setup ${MESON_COMMON_OPTIONS} --buildtype release -Ddocumentation=true -Dman-pages=enabled _build
|
_build
|
||||||
- meson dist -C _build
|
- meson dist -C _build
|
||||||
# Compile again to build the docs
|
# Compile again to build the docs
|
||||||
- meson compile -C _build
|
- meson compile -C _build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user