diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-05-05 15:18:48 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-05-07 17:25:58 (GMT) |
commit | 50cbc9b77a7df57f2616fe2c4f5e6778f00f1cf8 (patch) | |
tree | 0202cfece9150998ba0b307328aa82ad53add7c7 /.gitlab | |
parent | d78bf2f229d6e22ab2ad76fe8256532d009b70df (diff) | |
download | CMake-50cbc9b77a7df57f2616fe2c4f5e6778f00f1cf8.zip CMake-50cbc9b77a7df57f2616fe2c4f5e6778f00f1cf8.tar.gz CMake-50cbc9b77a7df57f2616fe2c4f5e6778f00f1cf8.tar.bz2 |
gitlab-ci: add a sphinx builder
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/configure_fedora31_sphinx.cmake | 8 | ||||
-rw-r--r-- | .gitlab/ci/gitlab_ci.cmake | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_fedora31_sphinx.cmake b/.gitlab/ci/configure_fedora31_sphinx.cmake new file mode 100644 index 0000000..dfc9b8c --- /dev/null +++ b/.gitlab/ci/configure_fedora31_sphinx.cmake @@ -0,0 +1,8 @@ +set(SPHINX_INFO ON CACHE BOOL "") +set(SPHINX_MAN ON CACHE BOOL "") +set(SPHINX_HTML ON CACHE BOOL "") +set(SPHINX_SINGLEHTML ON CACHE BOOL "") +set(SPHINX_QTHELP ON CACHE BOOL "") +set(SPHINX_TEXT ON CACHE BOOL "") + +include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/gitlab_ci.cmake b/.gitlab/ci/gitlab_ci.cmake index 401cc40..b49f51d 100644 --- a/.gitlab/ci/gitlab_ci.cmake +++ b/.gitlab/ci/gitlab_ci.cmake @@ -5,6 +5,9 @@ endif () # Set up the source and build paths. set(CTEST_SOURCE_DIRECTORY "$ENV{CI_PROJECT_DIR}") +if (NOT "$ENV{CTEST_SOURCE_SUBDIRECTORY}" STREQUAL "") + string(APPEND CTEST_SOURCE_DIRECTORY "/$ENV{CTEST_SOURCE_SUBDIRECTORY}") +endif () set(CTEST_BINARY_DIRECTORY "${CTEST_SOURCE_DIRECTORY}/build") if ("$ENV{CMAKE_CONFIGURATION}" STREQUAL "") |