Commit a01c9abf authored by Simon Spannagel's avatar Simon Spannagel
Browse files

CI: automatically build manual

parent ff4956b6
Pipeline #246273 failed with stages
in 3 minutes and 49 seconds
stages: stages:
- compile - compile
- format - format
- documentation
####################### #######################
# Compilation targets # # Compilation targets #
...@@ -141,3 +142,28 @@ fmt:centos7-llvm-format: ...@@ -141,3 +142,28 @@ fmt:centos7-llvm-format:
- source .gitlab-ci.d/init_x86_64.sh - source .gitlab-ci.d/init_x86_64.sh
- cd build/ - cd build/
- ninja check-format - ninja check-format
#############################
# Documentation Compilation #
#############################
# Compile LaTeX user manual:
cmp:usermanual:
stage: documentation
tags:
- docker
image: gitlab-registry.cern.ch/clicdp/publications/templates/custom_ci_worker:fedora-latex-latest
dependencies: []
script:
- mkdir -p public/usermanual
- mkdir build
- cd build
- cmake -DBUILD_DOCS_ONLY=ON ..
- make pdf
- mv usermanual/corryvreckan-manual.pdf ../public/usermanual
artifacts:
paths:
- public
expire_in: 3 hour
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment