diff options
author | Brad King <brad.king@kitware.com> | 2021-06-16 18:22:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-16 18:25:38 (GMT) |
commit | f7af01efb6e3cf453f48def6e7eb8b325667578a (patch) | |
tree | f73f900441a7b9f523c713112131172c1f35b878 | |
parent | 9548b059c0ad6b35cd019b2ff00c0b23f702b840 (diff) | |
download | CMake-f7af01efb6e3cf453f48def6e7eb8b325667578a.zip CMake-f7af01efb6e3cf453f48def6e7eb8b325667578a.tar.gz CMake-f7af01efb6e3cf453f48def6e7eb8b325667578a.tar.bz2 |
gitlab-ci: add job testing cuda10.2 with clang 11
-rw-r--r-- | .gitlab-ci.yml | 10 | ||||
-rw-r--r-- | .gitlab/ci/configure_cuda10.2_clang.cmake | 3 | ||||
-rw-r--r-- | .gitlab/ci/env_cuda10.2_clang.sh | 3 | ||||
-rw-r--r-- | .gitlab/os-linux.yml | 7 |
4 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3765abc..d6825d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -214,6 +214,16 @@ test:cuda10.2-nvidia: - .run_dependent - .needs_centos6_x86_64 +test:cuda10.2-clang: + extends: + - .cuda10.2_clang + - .cmake_test_linux_release + - .linux_builder_tags_cuda + - .run_dependent + - .needs_centos6_x86_64 + variables: + CMAKE_CI_JOB_NIGHTLY: "true" + build:fedora34-ninja: extends: - .fedora34_ninja 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: |