mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
gitlab-ci: Enable documentation in more tests
This commit is contained in:
@@ -95,8 +95,8 @@ clang:msan:
|
||||
- win32-ps
|
||||
variables:
|
||||
BASE_CONFIG: "--with-http --with-lzma --with-zlib --with-python"
|
||||
# Disabled for now, see #658
|
||||
CONFIG: "--without-python"
|
||||
# Python is disabled for now, see #658
|
||||
CONFIG: "--with-docs --without-python"
|
||||
CHERE_INVOKING: "yes"
|
||||
before_script:
|
||||
- $Env:Path="C:\msys64\usr\bin;$Env:Path"
|
||||
|
||||
@@ -5,7 +5,7 @@ set -e
|
||||
mkdir -p libxml2-dist
|
||||
cd libxml2-dist
|
||||
sh ../autogen.sh
|
||||
make distcheck V=1 DISTCHECK_CONFIGURE_FLAGS='--with-legacy'
|
||||
make distcheck V=1 DISTCHECK_CONFIGURE_FLAGS='--with-docs --with-legacy'
|
||||
if [ -z "$CI_COMMIT_TAG" ]; then
|
||||
mv libxml2-*.tar.xz libxml2-git-$CI_COMMIT_SHORT_SHA.tar.xz
|
||||
fi
|
||||
|
||||
@@ -6,7 +6,7 @@ prefix=
|
||||
if [ -n "$MINGW_PACKAGE_PREFIX" ]; then
|
||||
prefix="${MINGW_PACKAGE_PREFIX}-"
|
||||
fi
|
||||
for module in doxygen libiconv python xz zlib "$@"; do
|
||||
for module in docbook-xsl doxygen libiconv python xsltproc xz zlib "$@"; do
|
||||
pacman --noconfirm -S --needed ${prefix}$module
|
||||
done
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ cmake "$@" \
|
||||
-DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS \
|
||||
-DCMAKE_INSTALL_PREFIX=libxml2-install \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DLIBXML2_WITH_DOCS=ON \
|
||||
-DLIBXML2_WITH_HTTP=ON \
|
||||
-DLIBXML2_WITH_LZMA=ON \
|
||||
-DLIBXML2_WITH_ZLIB=ON \
|
||||
|
||||
@@ -11,6 +11,7 @@ meson setup \
|
||||
--werror \
|
||||
--buildtype=debugoptimized \
|
||||
--default-library shared \
|
||||
-Ddocs=enabled \
|
||||
-Dhttp=enabled \
|
||||
-Dlzma=enabled \
|
||||
-Dzlib=enabled \
|
||||
|
||||
Reference in New Issue
Block a user