summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-04 17:06:43 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-04 17:30:19 (GMT)
commit7e5e558d0f7cd0e5ac579322c13142d1fac93f0a (patch)
tree44bef535765c1bc37ac5016f9e1f3be88a0ca3e7 /.gitlab
parent26e75b474bb2b0b3216cc513cc50e91ae5dbff28 (diff)
downloadCMake-7e5e558d0f7cd0e5ac579322c13142d1fac93f0a.zip
CMake-7e5e558d0f7cd0e5ac579322c13142d1fac93f0a.tar.gz
CMake-7e5e558d0f7cd0e5ac579322c13142d1fac93f0a.tar.bz2
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 0000000..20863a2
--- /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 0000000..e0d5d61
--- /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 a8c07d8..015df4f 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: