summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-08-09 21:41:31 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-08-09 21:41:31 +0200
commit7d7784d14009343ba224bcc62291bede711f653c (patch)
treee97af0a4a4741441a334a6d55167cf6f44c3fb49 /.gitlab-ci.yml
parent92f6962b597316ab0e05a6b7aeaabd7b492af602 (diff)
GitLab CI/CD: generate pdf documentation
Remove build artifacts from normal builds (libs and executables). These were never meant to be provided but forgotten to remove after tests. Try to build fltk.pdf (may be removed later) Store fltk.pdf in 'public' folder to be available online in docs and downloadable as "artifact"
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml16
1 files changed, 4 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 481ee5372..5d5013fd4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,13 +41,6 @@ build-autotools:
- ./configure --enable-pango --enable-cairo
- time make -j3
- cd examples && time make
- artifacts:
- paths:
- - lib/
- - test/cairo_test
- - test/glpuzzle
- - test/unittests
- - test/fltk-versions
# Build with CMake and Ninja (with pango, cairo, building examples)
@@ -70,10 +63,6 @@ build-cmake:
- date
- time ninja
- date
- artifacts:
- paths:
- - build/lib/
- - build/bin/
# Generate and install HTML documentation
@@ -86,7 +75,7 @@ pages:
# install the necessary build tools
before_script:
- date
- - apt update && apt -y install make autoconf man doxygen
+ - apt update && apt -y install make autoconf man doxygen doxygen-latex
script:
- date
- make clean
@@ -94,9 +83,12 @@ pages:
- date
- make && make html
- date
+ - make pdf
+ - date
- cd ..
- mkdir -p public/
- mv documentation/html/* public/
+ - mv documentation/fltk.pdf public/
- date
artifacts:
paths: