ci: Add job for Debian 10 legacy packages

Test Python 2 packages in Debian 10.  They are not available in Debian 12.
This commit is contained in:
Brad King 2023-07-31 13:48:37 -04:00
parent 07f42b3690
commit 9d64df3e1c
3 changed files with 33 additions and 0 deletions

View File

@ -344,6 +344,17 @@ t:linux-gcc-cxx-modules-ninja-multi:
variables:
CMAKE_CI_JOB_NIGHTLY: "true"
t:debian10-legacy:
extends:
- .debian10_legacy
- .cmake_test_linux_release
- .linux_x86_64_tags
- .cmake_junit_artifacts
- .run_dependent
- .needs_centos6_x86_64
variables:
CMAKE_CI_JOB_NIGHTLY: "true"
b:fedora38-ninja:
extends:
- .fedora38_ninja

View File

@ -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")

View File

@ -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: