summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-16 18:22:48 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-16 18:25:38 (GMT)
commitf7af01efb6e3cf453f48def6e7eb8b325667578a (patch)
treef73f900441a7b9f523c713112131172c1f35b878 /.gitlab
parent9548b059c0ad6b35cd019b2ff00c0b23f702b840 (diff)
downloadCMake-f7af01efb6e3cf453f48def6e7eb8b325667578a.zip
CMake-f7af01efb6e3cf453f48def6e7eb8b325667578a.tar.gz
CMake-f7af01efb6e3cf453f48def6e7eb8b325667578a.tar.bz2
gitlab-ci: add job testing cuda10.2 with clang 11
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/configure_cuda10.2_clang.cmake3
-rw-r--r--.gitlab/ci/env_cuda10.2_clang.sh3
-rw-r--r--.gitlab/os-linux.yml7
3 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_cuda10.2_clang.cmake b/.gitlab/ci/configure_cuda10.2_clang.cmake
new file mode 100644
index 0000000..e13ca88
--- /dev/null
+++ b/.gitlab/ci/configure_cuda10.2_clang.cmake
@@ -0,0 +1,3 @@
+set(CMake_TEST_CUDA "Clang" CACHE STRING "")
+
+include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake")
diff --git a/.gitlab/ci/env_cuda10.2_clang.sh b/.gitlab/ci/env_cuda10.2_clang.sh
new file mode 100644
index 0000000..d3b2530
--- /dev/null
+++ b/.gitlab/ci/env_cuda10.2_clang.sh
@@ -0,0 +1,3 @@
+export CC=/usr/bin/clang-11
+export CXX=/usr/bin/clang++-11
+export CUDACXX=/usr/bin/clang++-11
diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml
index 978543b..67e9ce5 100644
--- a/.gitlab/os-linux.yml
+++ b/.gitlab/os-linux.yml
@@ -217,6 +217,13 @@
CMAKE_CONFIGURATION: cuda10.2_nvidia
CTEST_NO_WARNINGS_ALLOWED: 1
+.cuda10.2_clang:
+ extends: .cuda10.2
+
+ variables:
+ CMAKE_CONFIGURATION: cuda10.2_clang
+ CTEST_NO_WARNINGS_ALLOWED: 1
+
## Tags
.linux_builder_tags: