vtk-m/.gitlab/ci/doxygen.yml
Ben Boeckel 4c010f6c88 Merge branch 'ci-arch-tags-1.7' into ci-arch-tags-1.8
* ci-arch-tags-1.7:
  gitlab-ci: add missing feature tag for doxygen submission
  gitlab-ci: use arch-specific tags for OS selection
2022-12-21 09:34:37 -05:00

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"