From f1d9b3c966b6e0331506b0f3d186a1a0ecf97adc Mon Sep 17 00:00:00 2001 From: Moshe Kaplan Date: Sun, 18 Oct 2020 03:40:28 +0000 Subject: [PATCH] Gitlab-ci: Build doxygen Add a Gitlab-CI job for building doxygen docs --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 432c27f21d..3b90f08d3c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -176,6 +176,29 @@ docbook: - wsdg_html/ - wsdg_html_chunked/ + +# Build all doxygen docs +doxygen_all: + stage: build + image: wireshark/wireshark-ubuntu-dev + before_script: + - ./tools/debian-setup.sh -y doxygen graphviz + script: + - mkdir build + - cd build + - cmake -GNinja .. + - ninja wsar_html 2>&1 > doxygen_output.txt | tee doxygen_errors.txt + after_script: + - mv build/wsar_html . + - mv build/doxygen_output.txt . + - mv build/doxygen_errors.txt . + artifacts: + when: always + paths: + - doxygen_errors.txt + - doxygen_output.txt + - wsar_html + # https://docs.gitlab.com/ee/user/gitlab_com/index.html#linux-shared-runners merge-req:commit-checks: