summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-07-31 17:48:37 (GMT)
committerBrad King <brad.king@kitware.com>2023-07-31 17:48:37 (GMT)
commit9d64df3e1c057317b32b7c12ef46dff3959fb98c (patch)
tree20d922f45a825858bcde49816797bc8d36f9fb61 /.gitlab
parent07f42b36901541f8e979f10f9b5a405b5baeacb2 (diff)
downloadCMake-9d64df3e1c057317b32b7c12ef46dff3959fb98c.zip
CMake-9d64df3e1c057317b32b7c12ef46dff3959fb98c.tar.gz
CMake-9d64df3e1c057317b32b7c12ef46dff3959fb98c.tar.bz2
ci: Add job for Debian 10 legacy packages
Test Python 2 packages in Debian 10. They are not available in Debian 12.
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/configure_debian10_legacy.cmake6
-rw-r--r--.gitlab/os-linux.yml16
2 files changed, 22 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_debian10_legacy.cmake b/.gitlab/ci/configure_debian10_legacy.cmake
new file mode 100644
index 0000000..11a5dc0
--- /dev/null
+++ b/.gitlab/ci/configure_debian10_legacy.cmake
@@ -0,0 +1,6 @@
+set(CMake_TEST_FindPython2 "ON" CACHE BOOL "")
+set(CMake_TEST_FindPython2_IronPython "ON" CACHE BOOL "")
+set(CMake_TEST_FindPython2_NumPy "ON" CACHE BOOL "")
+set(CMake_TEST_FindPython2_PyPy "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 def66de..4b1da45 100644
--- a/.gitlab/os-linux.yml
+++ b/.gitlab/os-linux.yml
@@ -383,6 +383,22 @@
CMAKE_CONFIGURATION: linux_gcc_cxx_modules_ninja_multi
CMAKE_GENERATOR: "Ninja Multi-Config"
+### Debian 10 legacy packages
+
+.debian10:
+ image: "kitware/cmake:ci-debian10-x86_64-2023-07-31"
+
+ variables:
+ GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci"
+ CMAKE_ARCH: x86_64
+
+.debian10_legacy:
+ extends: .debian10
+
+ variables:
+ CMAKE_CONFIGURATION: debian10_legacy
+ CTEST_LABELS: "Python2"
+
## Tags
.linux_x86_64_tags: