mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
* ci-arch-tags-1.7: gitlab-ci: add missing feature tag for doxygen submission gitlab-ci: use arch-specific tags for OS selection
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
.doxygen_submit: &doxygen_submit
|
|
stage: build
|
|
tags:
|
|
- build
|
|
- vtkm
|
|
- docker
|
|
- linux-x86_64
|
|
before_script:
|
|
- "cmake -V -P .gitlab/ci/config/gitlab_ci_setup.cmake"
|
|
- "ctest -VV -S .gitlab/ci/ctest_configure.cmake"
|
|
script:
|
|
- doxygen build/docs/doxyfile
|
|
- chmod 400 $DOC_KEY_FILE
|
|
- rsync -tv --recursive --delete -e "ssh -i $DOC_KEY_FILE -o StrictHostKeyChecking=no" build/docs/doxygen/html/ "kitware@web.kitware.com:vtkm_documentation/$DOXYGEN_UPLOAD_REMOTE_PATH"
|
|
timeout: 30 minutes
|
|
interruptible: true
|
|
variables:
|
|
CMAKE_BUILD_TYPE: Release
|
|
VTKM_SETTINGS: "tbb+openmp+mpi+shared+docs"
|
|
|
|
docs:nightly:
|
|
environment:
|
|
name: doxygen-nightly
|
|
url: https://docs-m.vtk.org/nightly/
|
|
rules:
|
|
- if: '$CI_PROJECT_PATH == "vtk/vtk-m" && $CI_COMMIT_REF_NAME == "master"'
|
|
when: on_success
|
|
- when: never
|
|
extends:
|
|
- .ubuntu2004_doxygen
|
|
- .doxygen_submit
|
|
variables:
|
|
DOXYGEN_UPLOAD_REMOTE_PATH: "nightly"
|
|
|
|
docs:latest:
|
|
environment:
|
|
name: doxygen-latest
|
|
url: https://docs-m.vtk.org/latest/index.html
|
|
rules:
|
|
- if: '$CI_PROJECT_PATH == "vtk/vtk-m" && $CI_COMMIT_TAG'
|
|
when: on_success
|
|
- when: never
|
|
extends:
|
|
- .ubuntu2004_doxygen
|
|
- .doxygen_submit
|
|
variables:
|
|
DOXYGEN_UPLOAD_REMOTE_PATH: "latest"
|