summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-04 13:06:43 -0400
committerBrad King <brad.king@kitware.com>2021-06-04 13:30:19 -0400
commit7e5e558d0f7cd0e5ac579322c13142d1fac93f0a (patch)
tree44bef535765c1bc37ac5016f9e1f3be88a0ca3e7 /.gitlab
parent26e75b474bb2b0b3216cc513cc50e91ae5dbff28 (diff)
downloadcmake-7e5e558d0f7cd0e5ac579322c13142d1fac93f0a.tar.gz
gitlab-ci: add job to test with clang-7 on debian10
Test with a Clang version old enough to have caught the regression fixed by commit 9411766c35 (BinUtils: Avoid llvm-objdump versions older than Clang 9, 2021-05-29).
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/configure_debian10_makefiles_clang.cmake1
-rw-r--r--.gitlab/ci/env_debian10_makefiles_clang.sh2
-rw-r--r--.gitlab/os-linux.yml9
3 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_debian10_makefiles_clang.cmake b/.gitlab/ci/configure_debian10_makefiles_clang.cmake
new file mode 100644
index 0000000000..20863a2fb0
--- /dev/null
+++ b/.gitlab/ci/configure_debian10_makefiles_clang.cmake
@@ -0,0 +1 @@
+include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake")
diff --git a/.gitlab/ci/env_debian10_makefiles_clang.sh b/.gitlab/ci/env_debian10_makefiles_clang.sh
new file mode 100644
index 0000000000..e0d5d6105b
--- /dev/null
+++ b/.gitlab/ci/env_debian10_makefiles_clang.sh
@@ -0,0 +1,2 @@
+export CC=/usr/bin/clang-7
+export CXX=/usr/bin/clang++-7
diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml
index a8c07d8c3e..015df4f12d 100644
--- a/.gitlab/os-linux.yml
+++ b/.gitlab/os-linux.yml
@@ -149,6 +149,15 @@
CTEST_NO_WARNINGS_ALLOWED: 1
CMAKE_GENERATOR: "Unix Makefiles"
+### Clang Compiler
+
+.debian10_makefiles_clang:
+ extends: .debian10
+
+ variables:
+ CMAKE_CONFIGURATION: debian10_makefiles_clang
+ CMAKE_GENERATOR: "Unix Makefiles"
+
### Intel Compiler
.intelcompiler: