summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/ninja.sh
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-06 17:23:18 (GMT)
committerBrad King <brad.king@kitware.com>2021-10-06 17:38:57 (GMT)
commitb5a59251cbd3cfdc00ffeb6d6d64af12a540c702 (patch)
tree1d55bfc37512eda2b30dd4feb36ca32d11d867da /.gitlab/ci/ninja.sh
parent6dd924563500c76b63fdb59d5b0ff3a65f45aaf2 (diff)
downloadCMake-b5a59251cbd3cfdc00ffeb6d6d64af12a540c702.zip
CMake-b5a59251cbd3cfdc00ffeb6d6d64af12a540c702.tar.gz
CMake-b5a59251cbd3cfdc00ffeb6d6d64af12a540c702.tar.bz2
gitlab-ci: Try upstream ninja development branch in some nightly jobs
Diffstat (limited to '.gitlab/ci/ninja.sh')
-rwxr-xr-x.gitlab/ci/ninja.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/ci/ninja.sh b/.gitlab/ci/ninja.sh
index 8ead670..866d1d5 100755
--- a/.gitlab/ci/ninja.sh
+++ b/.gitlab/ci/ninja.sh
@@ -2,6 +2,10 @@
set -e
+if test "$CMAKE_CI_JOB_NIGHTLY_NINJA" = "true" -a "$CMAKE_CI_NIGHTLY" = "true"; then
+ exec .gitlab/ci/ninja-nightly.sh
+fi
+
readonly version="1.10.2"
baseurl="https://github.com/ninja-build/ninja/releases/download/v$version"