diff options
author | Brad King <brad.king@kitware.com> | 2022-02-28 22:55:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-03-03 17:46:47 (GMT) |
commit | 1f601753d75f2b3c5dedb5fdebc72354049e0d94 (patch) | |
tree | 345c3a8c04df2d29d4f86c215d2c2885a0047d32 | |
parent | 7716750062cab27d703a51f140e35edf0e0927c5 (diff) | |
download | CMake-1f601753d75f2b3c5dedb5fdebc72354049e0d94.zip CMake-1f601753d75f2b3c5dedb5fdebc72354049e0d94.tar.gz CMake-1f601753d75f2b3c5dedb5fdebc72354049e0d94.tar.bz2 |
gitlab-ci: add jobs testing cuda11.6 with nvcc and clang 13
-rw-r--r-- | .gitlab-ci.yml | 19 | ||||
-rw-r--r-- | .gitlab/ci/configure_cuda11.6_clang.cmake | 3 | ||||
-rw-r--r-- | .gitlab/ci/configure_cuda11.6_nvidia.cmake | 3 | ||||
-rw-r--r-- | .gitlab/ci/env_cuda11.6_clang.sh | 3 | ||||
-rw-r--r-- | .gitlab/os-linux.yml | 22 |
5 files changed, 50 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c127bb7..efd15b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -257,6 +257,25 @@ t:cuda10.2-clang: variables: CMAKE_CI_NO_MR: "true" +t:cuda11.6-nvidia: + extends: + - .cuda11.6_nvidia + - .cmake_test_linux_release + - .linux_builder_tags_cuda + - .cmake_junit_artifacts + - .run_dependent + - .needs_centos6_x86_64 + +t:cuda11.6-clang: + extends: + - .cuda11.6_clang + - .cmake_test_linux_release + - .linux_builder_tags_cuda + - .run_dependent + - .needs_centos6_x86_64 + variables: + CMAKE_CI_NO_MR: "true" + t:hip4.2-radeon: extends: - .hip4.2_radeon diff --git a/.gitlab/ci/configure_cuda11.6_clang.cmake b/.gitlab/ci/configure_cuda11.6_clang.cmake new file mode 100644 index 0000000..e13ca88 --- /dev/null +++ b/.gitlab/ci/configure_cuda11.6_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/configure_cuda11.6_nvidia.cmake b/.gitlab/ci/configure_cuda11.6_nvidia.cmake new file mode 100644 index 0000000..519699b --- /dev/null +++ b/.gitlab/ci/configure_cuda11.6_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_cuda11.6_clang.sh b/.gitlab/ci/env_cuda11.6_clang.sh new file mode 100644 index 0000000..f4be338 --- /dev/null +++ b/.gitlab/ci/env_cuda11.6_clang.sh @@ -0,0 +1,3 @@ +export CC=/usr/bin/clang-13 +export CXX=/usr/bin/clang++-13 +export CUDACXX=/usr/bin/clang++-13 diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml index a2da7f9..ddcd0d3 100644 --- a/.gitlab/os-linux.yml +++ b/.gitlab/os-linux.yml @@ -246,6 +246,28 @@ CMAKE_CONFIGURATION: cuda10.2_clang CTEST_NO_WARNINGS_ALLOWED: 1 +.cuda11.6: + image: "kitware/cmake:ci-cuda11.6-x86_64-2022-02-28" + + variables: + GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci" + CMAKE_ARCH: x86_64 + CTEST_LABELS: "CUDA" + +.cuda11.6_nvidia: + extends: .cuda11.6 + + variables: + CMAKE_CONFIGURATION: cuda11.6_nvidia + CTEST_NO_WARNINGS_ALLOWED: 1 + +.cuda11.6_clang: + extends: .cuda11.6 + + variables: + CMAKE_CONFIGURATION: cuda11.6_clang + CTEST_NO_WARNINGS_ALLOWED: 1 + ### HIP builds .hip4.2: |