From 8644083de8b6914fc22d0a61f79835943fb1fe9b Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 12 Jan 2025 19:31:43 +0100 Subject: [PATCH] github: ci: enable doc and apidoc meson options The CI should also test if doc building works, hence we enable the doc and apidoc meson options. Signed-off-by: Florian Schmaus --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6ada8a3d7..ad0917550e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: set -xe echo "force-unsafe-io" | sudo tee /etc/dpkg/dpkg.cfg.d/force-unsafe-io sudo apt-get update -q - sudo apt-get install -qy --no-install-recommends libxslt-dev libxml2-dev libxml2-utils meson pax-utils zstd + sudo apt-get install -qy --no-install-recommends docbook-xml epydoc libxslt-dev libxml2-dev libxml2-utils meson pax-utils xmlto zstd # Patch Ubuntu's old Meson to fix pypy-3.9 detection. curl -s -f https://github.com/mesonbuild/meson/commit/2540ad6e9e08370ddd0b6753fdc9314945a672f0.patch | sudo patch -d /usr/lib/python3/dist-packages -p1 --no-backup-if-mismatch @@ -91,6 +91,7 @@ jobs: run: | echo -e "[binaries]\npython = '$(command -v python)'" > /tmp/native.ini meson setup --native-file /tmp/native.ini /tmp/build . + meson configure -Ddoc=true -Dapidoc=true /tmp/build meson install -C /tmp/build --destdir /tmp/install-root - name: Run tests for ${{ matrix.python-version }} run: |