Prepared for EtherLab Documentation collection.

This commit is contained in:
Florian Pose 2023-01-09 11:34:17 +01:00
parent 7fe393c5d9
commit ca38429005
1 changed files with 11 additions and 6 deletions

View File

@ -39,6 +39,9 @@ test cmake:
- make - make
- ldd userexample - ldd userexample
# This job is collected by the EtherLab Documentation project.
# It must be named 'doxygen' and must produce an artifact with a 'html'
# directory dyrectly containing the doxygen index HTML.
doxygen: doxygen:
stage: deploy stage: deploy
variables: variables:
@ -47,12 +50,14 @@ doxygen:
- ./bootstrap - ./bootstrap
- ./configure --with-linux-dir=/usr/src/linux-obj/$(uname -i)/default --disable-8139too --enable-tty --with-devices=2 --enable-ccat - ./configure --with-linux-dir=/usr/src/linux-obj/$(uname -i)/default --disable-8139too --enable-tty --with-devices=2 --enable-ccat
- doxygen - doxygen
- mkdir -p public $CI_COMMIT_BRANCH - mv doxygen-output/html/ html/
- mv doxygen-output/html/ public/$CI_COMMIT_BRANCH/doxygen/
artifacts: artifacts:
paths: paths:
- public/ - html/
# This job is collected by the EtherLab Documentation project.
# It must be named 'pdf' and must produce a 'pdf' directory as an artifact.
# All PDF files in this directory will be collected.
pdf: pdf:
stage: deploy stage: deploy
image: registry.gitlab.com/etherlab.org/build-container-factory/leap-15.3:texlive image: registry.gitlab.com/etherlab.org/build-container-factory/leap-15.3:texlive
@ -61,11 +66,11 @@ pdf:
- make - make
- make index - make index
- make - make
- mkdir -p ../public/$CI_COMMIT_BRANCH - mkdir ../pdf
- mv *.pdf ../public/$CI_COMMIT_BRANCH - mv *.pdf ../pdf
artifacts: artifacts:
paths: paths:
- public/ - pdf/
# from 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml', but on all branches # from 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml', but on all branches
workflow: workflow: