summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-05-05 15:18:48 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-05-07 17:25:58 (GMT)
commit50cbc9b77a7df57f2616fe2c4f5e6778f00f1cf8 (patch)
tree0202cfece9150998ba0b307328aa82ad53add7c7 /.gitlab-ci.yml
parentd78bf2f229d6e22ab2ad76fe8256532d009b70df (diff)
downloadCMake-50cbc9b77a7df57f2616fe2c4f5e6778f00f1cf8.zip
CMake-50cbc9b77a7df57f2616fe2c4f5e6778f00f1cf8.tar.gz
CMake-50cbc9b77a7df57f2616fe2c4f5e6778f00f1cf8.tar.bz2
gitlab-ci: add a sphinx builder
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml29
1 files changed, 28 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9a91d20..2ac075a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,7 @@
- tags@cmake/cmake
.fedora31: &fedora31
- image: "kitware/cmake:ci-fedora31-x86_64-2020-04-27"
+ image: "kitware/cmake:ci-fedora31-x86_64-2020-05-05"
variables:
GIT_CLONE_PATH: "$CI_BUILDS_DIR/gitlab-kitware-cmake ci"
@@ -29,6 +29,14 @@
CMAKE_CONFIGURATION: fedora31_tidy
CTEST_NO_WARNINGS_ALLOWED: 1
+.fedora31_sphinx: &fedora31_sphinx
+ extends: .fedora31
+
+ variables:
+ CMAKE_CONFIGURATION: fedora31_sphinx
+ CTEST_NO_WARNINGS_ALLOWED: 1
+ CTEST_SOURCE_SUBDIRECTORY: "Utilities/Sphinx"
+
before_script:
- .gitlab/ci/cmake.sh
- .gitlab/ci/ninja.sh
@@ -95,3 +103,22 @@ build:fedora31-tidy:
- "$LAUNCHER ctest -VV -S .gitlab/ci/ctest_build.cmake"
- sccache --show-stats
interruptible: true
+
+build:fedora31-sphinx:
+ <<:
+ - *fedora31_sphinx
+ stage: build
+ only: *only_settings
+ tags:
+ - build
+ - docker
+ - linux
+
+ script:
+ - .gitlab/ci/sccache.sh
+ - sccache --start-server
+ - sccache --show-stats
+ - "$LAUNCHER ctest -VV -S .gitlab/ci/ctest_configure.cmake"
+ - "$LAUNCHER ctest -VV -S .gitlab/ci/ctest_build.cmake"
+ - sccache --show-stats
+ interruptible: true