1
0
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:
Nick Wellnhofer
2025-05-02 23:05:35 +02:00
parent 8c032073eb
commit 488939b6a1
5 changed files with 6 additions and 4 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -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

View File

@@ -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 \

View File

@@ -11,6 +11,7 @@ meson setup \
--werror \
--buildtype=debugoptimized \
--default-library shared \
-Ddocs=enabled \
-Dhttp=enabled \
-Dlzma=enabled \
-Dzlib=enabled \