diff options
author | Brad King <brad.king@kitware.com> | 2022-04-06 13:25:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-04-06 13:59:14 (GMT) |
commit | b691906d271e2cb3dba09ef8ec07d05278976257 (patch) | |
tree | 5e4204c860c9ee78bf7cca44a85da6078d549cca /.gitlab | |
parent | 1ceec19c208f0655362ce360a5402f613c393f3c (diff) | |
download | CMake-b691906d271e2cb3dba09ef8ec07d05278976257.zip CMake-b691906d271e2cb3dba09ef8ec07d05278976257.tar.gz CMake-b691906d271e2cb3dba09ef8ec07d05278976257.tar.bz2 |
gitlab-ci: Build qthelp-format release documentation for cmake.org
Previously the qthelp-format release documentation on `cmake.org` was
built manually.
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/os-linux.yml | 4 | ||||
-rw-r--r-- | .gitlab/rules.yml | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml index 3d2c827..2d7ace6 100644 --- a/.gitlab/os-linux.yml +++ b/.gitlab/os-linux.yml @@ -490,7 +490,9 @@ - *before_script_linux - mkdir -p build/ - cd build/ - - cmake ../Utilities/Sphinx -GNinja -DSPHINX_HTML=ON + - cmake ../Utilities/Sphinx -GNinja + -DSPHINX_HTML=ON + -DSPHINX_QTHELP=$CMAKE_CI_SPHINX_QTHELP -DCMake_SPHINX_CMAKE_ORG=ON -DCMake_SPHINX_CMAKE_ORG_OUTDATED=$CMAKE_CI_SPHINX_OUTDATED -DCMake_VERSION_NO_GIT=$CMAKE_CI_VERSION_NO_GIT diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml index bc51d77..20603f5 100644 --- a/.gitlab/rules.yml +++ b/.gitlab/rules.yml @@ -77,16 +77,19 @@ - if: '$CMAKE_CI_PACKAGE =~ /v[0-9]+\.[0-9]+/' variables: RSYNC_DESTINATION: "$CMAKE_CI_PACKAGE" + CMAKE_CI_SPHINX_QTHELP: "ON" CMAKE_CI_VERSION_NO_GIT: "ON" when: manual - if: '$CMAKE_CI_PROJECT_MAIN_BRANCH != null && $CI_COMMIT_BRANCH != null && $CMAKE_CI_PROJECT_MAIN_BRANCH == $CI_COMMIT_BRANCH' variables: RSYNC_DESTINATION: "git-master" + CMAKE_CI_SPHINX_QTHELP: "OFF" CMAKE_CI_VERSION_NO_GIT: "OFF" when: on_success - if: '$CMAKE_CI_PROJECT_CONTINUOUS_BRANCH != null && $CI_COMMIT_BRANCH != null && $CMAKE_CI_PROJECT_CONTINUOUS_BRANCH == $CI_COMMIT_BRANCH' variables: RSYNC_DESTINATION: "git-stage" + CMAKE_CI_SPHINX_QTHELP: "OFF" CMAKE_CI_VERSION_NO_GIT: "OFF" when: on_success - when: never |