Merge branch 'michal/install-pdf-dependencies-on-demand-in-gitlab-ci' into 'bind-9.18'

Install PDF dependencies on demand in GitLab CI

See merge request isc-projects/bind9!8351
This commit is contained in:
Michał Kępień 2023-10-12 13:09:15 +00:00
commit ee3ac71622

View file

@ -514,7 +514,6 @@ cross-version-config-tests:
script:
- *configure
- make -j${BUILD_PARALLEL_JOBS:-1} -k doc V=1
- qpdf --check doc/arm/_build/latex/Bv9ARM.pdf
- find doc/man/ -maxdepth 1 -name "*.[0-9]" -exec mandoc -T lint "{}" \; | ( ! grep -v -e "skipping paragraph macro. sp after" -e "unknown font, skipping request. ft C" -e "input text line longer than 80 bytes" )
.respdiff: &respdiff_job
@ -677,6 +676,22 @@ docs:tarball:
- job: tarball-create
artifacts: true
docs:pdf:
<<: *api_schedules_tags_triggers_web_triggering_rules
<<: *base_image
stage: docs
before_script:
- apt-get -y install qpdf texlive-full texlive-xetex xindy
script:
- *configure
- make -C doc/arm/ pdf V=1
- qpdf --check doc/arm/_build/latex/Bv9ARM.pdf
needs:
- job: autoreconf
artifacts: true
artifacts:
untracked: true
# Jobs for regular GCC builds on Alpine Linux 3.18 (amd64)
gcc:alpine3.18:amd64:
@ -1392,6 +1407,8 @@ release:
artifacts: true
- job: docs
artifacts: true
- job: docs:pdf
artifacts: true
only:
- tags
artifacts: