summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-30 15:14:12 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-01 15:47:02 (GMT)
commit6b0b6efc75463ebeb8b9c2681957d3ac5528b5ec (patch)
tree3d5793060554cbd378a6e4c8b147e46d3a3225cf /.gitlab
parentbf6965fbb8f01bd105ffb57e1f2c2b1fc34fe697 (diff)
downloadCMake-6b0b6efc75463ebeb8b9c2681957d3ac5528b5ec.zip
CMake-6b0b6efc75463ebeb8b9c2681957d3ac5528b5ec.tar.gz
CMake-6b0b6efc75463ebeb8b9c2681957d3ac5528b5ec.tar.bz2
gitlab-ci: add job testing cuda9.2 with Ninja Multi-Config
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/configure_cuda9.2_nvidia.cmake3
-rw-r--r--.gitlab/ci/env_cuda9.2_nvidia.sh4
-rw-r--r--.gitlab/os-linux.yml15
3 files changed, 22 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_cuda9.2_nvidia.cmake b/.gitlab/ci/configure_cuda9.2_nvidia.cmake
new file mode 100644
index 0000000..519699b
--- /dev/null
+++ b/.gitlab/ci/configure_cuda9.2_nvidia.cmake
@@ -0,0 +1,3 @@
+set(CMake_TEST_CUDA "NVIDIA" CACHE STRING "")
+
+include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake")
diff --git a/.gitlab/ci/env_cuda9.2_nvidia.sh b/.gitlab/ci/env_cuda9.2_nvidia.sh
new file mode 100644
index 0000000..16bfba4
--- /dev/null
+++ b/.gitlab/ci/env_cuda9.2_nvidia.sh
@@ -0,0 +1,4 @@
+export CC=/usr/bin/clang-3.8
+export CXX=/usr/bin/clang++-3.8
+export CUDAHOSTCXX=/usr/bin/g++-5
+export CUDACXX=/usr/local/cuda/bin/nvcc
diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml
index 8ce795e..cd1195b 100644
--- a/.gitlab/os-linux.yml
+++ b/.gitlab/os-linux.yml
@@ -208,6 +208,21 @@
### CUDA builds
+.cuda9.2:
+ image: "kitware/cmake:ci-cuda9.2-x86_64-2021-07-01"
+
+ variables:
+ GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci"
+ CMAKE_ARCH: x86_64
+ CTEST_LABELS: "CUDA"
+
+.cuda9.2_nvidia:
+ extends: .cuda9.2
+
+ variables:
+ CMAKE_CONFIGURATION: cuda9.2_nvidia
+ CMAKE_GENERATOR: "Ninja Multi-Config"
+
.cuda10.2:
image: "kitware/cmake:ci-cuda10.2-x86_64-2021-06-16"