diff options
author | Moshe Kaplan <me@moshekaplan.com> | 2020-09-03 15:40:05 +0000 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2020-10-13 18:58:48 +0000 |
commit | a9f6bfff62dc0bef13d1aaecd81157e4f16ac557 (patch) | |
tree | d209227da10184d5ceb816e90f250ff9b167ef94 /.gitlab-ci.yml | |
parent | 16198291bcae769fc770838e84e1204a765460b4 (diff) |
gitlab-ci: Add docbook job for WSUG and WSDG
Adds job of building the HTML versions of the
Wireshark User Guide and Wireshark Developer Guide.
PDF versions are not built because it would take significantly longer
(~10 mins instead of ~5 minutes)
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cec4d71dbe..931577e0fb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -148,6 +148,34 @@ test:debian-stable: dependencies: - build:debian-stable +# Build Wireshark manuals +# Note: Need ubuntu:focal with `ruby-coderay` and `ruby-asciidoctor-pdf` packages to build PDF docs +docbook: + stage: build + image: wireshark/wireshark-ubuntu-dev + rules: + - changes: + - "docbook/**" + - "epan/wslua/**" + before_script: + - DEBIAN_FRONTEND="noninteractive" ./tools/debian-setup.sh --install-optional -y g++ + script: + - mkdir build + - cd build + - cmake -GNinja .. + - ninja all_guides + after_script: + - mv build/docbook/wsug_html/ . + - mv build/docbook/wsug_html_chunked/ . + - mv build/docbook/wsdg_html/ . + - mv build/docbook/wsdg_html_chunked/ . + artifacts: + paths: + - wsug_html/ + - wsug_html_chunked/ + - wsdg_html/ + - wsdg_html_chunked/ + # https://docs.gitlab.com/ee/user/gitlab_com/index.html#linux-shared-runners merge-req:commit-checks: |