Skip to content

Commit

Permalink
github: ci: enable doc and apidoc meson options
Browse files Browse the repository at this point in the history
The CI should also test if doc building works, hence we enable the doc
and apidoc meson options.

Signed-off-by: Florian Schmaus <[email protected]>
  • Loading branch information
Flowdalic committed Jan 12, 2025
1 parent 957698a commit 8644083
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 8644083

Please sign in to comment.