aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMoshe Kaplan <me@moshekaplan.com>2020-10-18 03:40:28 +0000
committerAndersBroman <a.broman58@gmail.com>2020-10-24 12:04:20 +0000
commitf1d9b3c966b6e0331506b0f3d186a1a0ecf97adc (patch)
tree3b89980fcde81081f461e91d5d0e152594c5d441 /.gitlab-ci.yml
parentcad17858685e94cb763c492cbae400c30ab686dd (diff)
Gitlab-ci: Build doxygen
Add a Gitlab-CI job for building doxygen docs
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml23
1 files changed, 23 insertions, 0 deletions
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: