gitlab: Enable docs only when building the doc

This commit is contained in:
Thibault Saunier 2020-06-03 22:33:50 -04:00
parent dbe39079ee
commit 3839f8ab87

View file

@ -135,7 +135,7 @@ gst indent:
-Dsharp=enabled
-Domx=enabled
-Dgst-omx:target=generic
-Ddoc=enabled
-Ddoc=disabled
-Drs=disabled
${MESON_BUILDTYPE_ARGS}
--werror
@ -867,6 +867,7 @@ documentation:
stage: integrate
variables:
MESON_ARGS: *simple_build
MESON_BUILDTYPE_ARGS: "-Ddoc=enabled"
script:
- pip3 install --upgrade git+https://github.com/hotdoc/hotdoc.git
- *gst_build