From 02e8befb74771dfa10f7837cd9a242b05c9ae423 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 3 Oct 2020 04:57:39 -0400 Subject: gitlab-ci: add job to run test suite on Debian 10 with ninja --- .gitlab-ci.yml | 11 ++++++ .gitlab/ci/configure_debian10_ninja.cmake | 61 +++++++++++++++++++++++++++++++ .gitlab/ci/env_debian10_ninja.cmake | 1 + .gitlab/os-linux.yml | 9 ++++- 4 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 .gitlab/ci/configure_debian10_ninja.cmake create mode 100644 .gitlab/ci/env_debian10_ninja.cmake diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f48a02..1a94a3d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,6 +99,17 @@ build:centos6-release: - .linux_builder_tags - .run_manually +test:debian10-ninja: + extends: + - .debian10_ninja + - .cmake_test_linux_package + - .linux_builder_tags_qt + - .run_dependent + dependencies: + - build:centos6-release + needs: + - build:centos6-release + test:fedora31-makefiles: extends: - .fedora31_makefiles diff --git a/.gitlab/ci/configure_debian10_ninja.cmake b/.gitlab/ci/configure_debian10_ninja.cmake new file mode 100644 index 0000000..efd861b --- /dev/null +++ b/.gitlab/ci/configure_debian10_ninja.cmake @@ -0,0 +1,61 @@ +set(CMake_TEST_FindALSA "ON" CACHE BOOL "") +set(CMake_TEST_FindBLAS "ON" CACHE BOOL "") +set(CMake_TEST_FindBoost "ON" CACHE BOOL "") +set(CMake_TEST_FindBoost_Python "ON" CACHE BOOL "") +set(CMake_TEST_FindBZip2 "ON" CACHE BOOL "") +set(CMake_TEST_FindCups "ON" CACHE BOOL "") +set(CMake_TEST_FindCURL "ON" CACHE BOOL "") +set(CMake_TEST_FindDoxygen_Dot "ON" CACHE BOOL "") +set(CMake_TEST_FindDoxygen "ON" CACHE BOOL "") +set(CMake_TEST_FindEXPAT "ON" CACHE BOOL "") +set(CMake_TEST_FindFontconfig "ON" CACHE BOOL "") +set(CMake_TEST_FindFreetype "ON" CACHE BOOL "") +set(CMake_TEST_FindGDAL "ON" CACHE BOOL "") +set(CMake_TEST_FindGIF "ON" CACHE BOOL "") +set(CMake_TEST_FindGit "ON" CACHE BOOL "") +set(CMake_TEST_FindGLEW "ON" CACHE BOOL "") +set(CMake_TEST_FindGnuTLS "ON" CACHE BOOL "") +set(CMake_TEST_FindGSL "ON" CACHE BOOL "") +set(CMake_TEST_FindGTest "ON" CACHE BOOL "") +set(CMake_TEST_FindGTK2 "ON" CACHE BOOL "") +set(CMake_TEST_FindIconv "ON" CACHE BOOL "") +set(CMake_TEST_FindJPEG "ON" CACHE BOOL "") +set(CMake_TEST_FindJsonCpp "ON" CACHE BOOL "") +set(CMake_TEST_FindLAPACK "ON" CACHE BOOL "") +set(CMake_TEST_FindLibArchive "ON" CACHE BOOL "") +set(CMake_TEST_FindLibinput "ON" CACHE BOOL "") +set(CMake_TEST_FindLibLZMA "ON" CACHE BOOL "") +set(CMake_TEST_FindLibUV "ON" CACHE BOOL "") +set(CMake_TEST_FindLibXml2 "ON" CACHE BOOL "") +set(CMake_TEST_FindLibXslt "ON" CACHE BOOL "") +set(CMake_TEST_FindMPI_C "ON" CACHE BOOL "") +set(CMake_TEST_FindMPI_CXX "ON" CACHE BOOL "") +set(CMake_TEST_FindMPI_Fortran "ON" CACHE BOOL "") +set(CMake_TEST_FindMPI "ON" CACHE BOOL "") +set(CMake_TEST_FindODBC "ON" CACHE BOOL "") +set(CMake_TEST_FindOpenACC "ON" CACHE BOOL "") +set(CMake_TEST_FindOpenGL "ON" CACHE BOOL "") +set(CMake_TEST_FindOpenMP_C "ON" CACHE BOOL "") +set(CMake_TEST_FindOpenMP_CXX "ON" CACHE BOOL "") +set(CMake_TEST_FindOpenMP_Fortran "ON" CACHE BOOL "") +set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") +set(CMake_TEST_FindOpenSSL "ON" CACHE BOOL "") +set(CMake_TEST_FindPatch "ON" CACHE BOOL "") +set(CMake_TEST_FindPNG "ON" CACHE BOOL "") +set(CMake_TEST_FindPostgreSQL "ON" CACHE BOOL "") +set(CMake_TEST_FindProtobuf "ON" CACHE BOOL "") +set(CMake_TEST_FindPython "ON" CACHE BOOL "") +set(CMake_TEST_FindPython_IronPython "ON" CACHE BOOL "") +set(CMake_TEST_FindPython_NumPy "ON" CACHE BOOL "") +set(CMake_TEST_FindPython_PyPy "ON" CACHE BOOL "") +set(CMake_TEST_FindRuby "ON" CACHE BOOL "") +set(CMake_TEST_FindRuby_RVM "ON" CACHE BOOL "") +set(CMake_TEST_FindSDL "ON" CACHE BOOL "") +set(CMake_TEST_FindSQLite3 "ON" CACHE BOOL "") +set(CMake_TEST_FindTIFF "ON" CACHE BOOL "") +set(CMake_TEST_FindX11 "ON" CACHE BOOL "") +set(CMake_TEST_FindXalanC "ON" CACHE BOOL "") +set(CMake_TEST_FindXercesC "ON" CACHE BOOL "") +set(CMake_TEST_UseSWIG "ON" CACHE BOOL "") + +include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/env_debian10_ninja.cmake b/.gitlab/ci/env_debian10_ninja.cmake new file mode 100644 index 0000000..ec252b4 --- /dev/null +++ b/.gitlab/ci/env_debian10_ninja.cmake @@ -0,0 +1 @@ +set(ENV{MY_RUBY_HOME} "/usr/local/rvm/rubies/ruby-2.7.0") diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml index cfa77d4..8e7a854 100644 --- a/.gitlab/os-linux.yml +++ b/.gitlab/os-linux.yml @@ -33,7 +33,7 @@ ### Debian .debian10: - image: "kitware/cmake:ci-debian10-x86_64-2020-04-27" + image: "kitware/cmake:ci-debian10-x86_64-2020-10-03" variables: GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci" @@ -82,6 +82,13 @@ #### Build and test +.debian10_ninja: + extends: .debian10 + + variables: + CMAKE_CONFIGURATION: debian10_ninja + CTEST_NO_WARNINGS_ALLOWED: 1 + .fedora31_ninja: extends: .fedora31 -- cgit v0.12