summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-09 17:39:52 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-09 17:48:28 (GMT)
commit71ab24015f170493ab21bab48cb15d65506faad7 (patch)
tree98787c0cb97e21f636542ada5655fabb733f17f3 /.gitlab
parent2e124fa22d41d76ba6d3bdb6243a729350b20720 (diff)
downloadCMake-71ab24015f170493ab21bab48cb15d65506faad7.zip
CMake-71ab24015f170493ab21bab48cb15d65506faad7.tar.gz
CMake-71ab24015f170493ab21bab48cb15d65506faad7.tar.bz2
gitlab-ci: add job testing hip4.2 with Ninja Multi-Config
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/configure_hip4.2_radeon.cmake3
-rw-r--r--.gitlab/os-linux.yml24
2 files changed, 27 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_hip4.2_radeon.cmake b/.gitlab/ci/configure_hip4.2_radeon.cmake
new file mode 100644
index 0000000..58036b0
--- /dev/null
+++ b/.gitlab/ci/configure_hip4.2_radeon.cmake
@@ -0,0 +1,3 @@
+set(CMake_TEST_HIP "ON" CACHE BOOL "")
+
+include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake")
diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml
index 65a4282..1513c90 100644
--- a/.gitlab/os-linux.yml
+++ b/.gitlab/os-linux.yml
@@ -245,6 +245,23 @@
CMAKE_CONFIGURATION: cuda10.2_clang
CTEST_NO_WARNINGS_ALLOWED: 1
+### HIP builds
+
+.hip4.2:
+ image: "kitware/cmake:ci-hip4.2-x86_64-2021-07-09"
+
+ variables:
+ GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci"
+ CMAKE_ARCH: x86_64
+ CTEST_LABELS: "HIP"
+
+.hip4.2_radeon:
+ extends: .hip4.2
+
+ variables:
+ CMAKE_CONFIGURATION: hip4.2_radeon
+ CMAKE_GENERATOR: "Ninja Multi-Config"
+
## Tags
.linux_builder_tags:
@@ -277,6 +294,13 @@
- docker
- linux
+.linux_builder_tags_radeon:
+ tags:
+ - cmake
+ - radeon
+ - docker
+ - linux
+
.linux_builder_tags_aarch64:
tags:
- cmake