Skip to content
Snippets Groups Projects
Commit a79d6a23 authored by Josch Morgenstern's avatar Josch Morgenstern
Browse files

Merge branch '25-ci-tool-build-doxygen-documentation-and-upload' into 'develop'

Resolve "CI Tool: Build Doxygen documentation and upload"

Closes #25

See merge request !16
parents a1df652c 78acff57
No related branches found
No related tags found
1 merge request!16Resolve "CI Tool: Build Doxygen documentation and upload"
Pipeline #24840 passed
stages:
- build
- deploy
build_ubuntu_gcc:
variables:
GIT_SUBMODULE_STRATEGY: recursive
stage: build
tags:
- ubuntu-gcc
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- mkdir debug
- cd debug
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- cmake --build .
artifacts:
name: "Documentation - $CI_PIPELINE_ID"
paths:
- doc/html
- doc/latex
expire_in: never
build_win10_msvc:
variables:
GIT_SUBMODULE_STRATEGY: recursive
stage: build
tags:
- win10-msvc
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- cd 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\'
- .\Launch-VsDevShell.ps1
......@@ -23,4 +33,36 @@ build_win10_msvc:
- mkdir debug
- cd debug
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- cmake --build .
\ No newline at end of file
- cmake --build .
deploy_doc_develop:
only:
refs:
- develop
stage: deploy
needs: ["build_ubuntu_gcc"]
dependencies:
- build_ubuntu_gcc
tags:
- webserver
variables:
GIT_STRATEGY: none
script:
- mv doc/html /var/www//html
- echo "Check it out at https://vkcv.de/
deploy_doc_branch:
except:
refs:
- develop
stage: deploy
needs: ["build_ubuntu_gcc"]
dependencies:
- build_ubuntu_gcc
tags:
- webserver
variables:
GIT_STRATEGY: none
script:
- mv doc/html /var/www/html/branch/$CI_COMMIT_BRANCH
- echo "Check it out at https://vkcv.de/branch/$CI_COMMIT_BRANCH"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment