Commit Graph

269 Commits

Author SHA1 Message Date
Ben Boeckel 7d5828e293 gitlab-ci: shorten job prefixes
This helps to maximize the amount of information visible in the GitLab
web interface.

Also document their meaning in the developer documentation and in the CI
configuration file directly.

See: https://gitlab.com/gitlab-org/gitlab/-/issues/8496
2021-11-23 10:11:25 -05:00
Brad King 6bab24e0d3 Merge topic 'ci-xcode-13.1' into release-3.22
224d81e804 gitlab-ci: update macOS jobs to use Xcode 13.1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6757
2021-11-23 09:52:48 -05:00
Brad King 224d81e804 gitlab-ci: update macOS jobs to use Xcode 13.1 2021-11-22 18:04:43 -05:00
Brad King fae34ea007 ci: add gmock to Debian base images
It is already in the Fedora base images.
2021-11-18 12:54:32 -05:00
Brad King 190d2b5d55 gitlab-ci: Update Windows jobs to VS 2022 2021-11-11 13:12:27 -05:00
Brad King ac32794983 gitlab-ci: Re-organize Windows job tags
Name the tag groups based on the VS version needed.
2021-11-11 12:51:32 -05:00
Brad King ada9855b78 gitlab-ci: Run manual jobs automatically only on scheduled pipelines
Previously we ran manual jobs automatically in the `cmake/cmake`
project integration branches.  Change this to happen only when
the pipeline is created by a schedule.

Also, start automatic jobs in scheduled pipelines without delay.
2021-10-27 13:30:20 -04:00
Brad King b5a59251cb gitlab-ci: Try upstream ninja development branch in some nightly jobs 2021-10-06 13:38:57 -04:00
Brad King 6dd9245635 gitlab-ci: Add cmake and ninja to PATH incrementally 2021-10-06 13:22:32 -04:00
Brad King 973ccc52af Merge topic 'ci-xcode-13.0'
429522e89c gitlab-ci: update macOS jobs to use Xcode 13.0
75901f0472 Tests: Fix RunCMake.XcodeProject XcodeIOSInstallCombined cases for Xcode 13.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6578
2021-10-06 10:25:31 -04:00
Brad King 1e3cc4b2b1 Merge topic 'ci-xcode-13.0' into release-3.21
429522e89c gitlab-ci: update macOS jobs to use Xcode 13.0
75901f0472 Tests: Fix RunCMake.XcodeProject XcodeIOSInstallCombined cases for Xcode 13.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6578
2021-10-06 10:25:30 -04:00
Brad King ae41e325a7 Merge topic 'ci-ctest-update'
3b581ab3aa ci: Enable CTest.Update{CVS,SVN,HG} tests

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !6596
2021-10-06 10:22:22 -04:00
Brad King ca2bc33626 Merge topic 'find-blas-lapack-sizeof-integer'
64038fd5bc Help: Add release notes for Find{BLAS,LAPACK} BLA_SIZEOF_INTEGER option
972489ae4e Find{BLAS,LAPACK}: Provide testing of BLA_SIZEOF_INTEGER
95219365ff Find{BLAS,LAPACK}: Make possible testing of ILP64 model
2cd94f3e57 Find{BLAS,LAPACK}: Specify integer type in tests
9b69307b56 Find{BLAS,LAPACK}: De-duplicate and generalize test creation logic
91fd645d46 FindLAPACK: Stop processing if LAPACK library does not have 64-bit integer API
b8a3cea51f FindBLAS: Stop processing if BLAS library does not have 64-bit integer API
d2f5c7856f FindLAPACK: Search 32/64-bit integer API via BLA_SIZEOF_INTEGER if possible
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6407
2021-10-06 10:17:46 -04:00
Brad King 3b581ab3aa ci: Enable CTest.Update{CVS,SVN,HG} tests
Enable all three in Debian builds.  Leave out CVS in Fedora builds
because the cvs package was not built with `--enable-rootcommit`.
2021-10-05 11:06:42 -04:00
Igor S. Gerasimov 972489ae4e Find{BLAS,LAPACK}: Provide testing of BLA_SIZEOF_INTEGER 2021-10-05 23:41:36 +09:00
Brad King 9b69307b56 Find{BLAS,LAPACK}: De-duplicate and generalize test creation logic
Interpret `CMake_TEST_FindBLAS` and `CMake_TEST_FindLAPACK` as a
sequence of option assignments intermixed with vendor names.
2021-10-05 23:41:36 +09:00
Brad King 429522e89c gitlab-ci: update macOS jobs to use Xcode 13.0 2021-10-05 09:13:23 -04:00
Craig Scott a31447417f Merge topic 'qt6-tests'
a742088472 Tests: Add support for testing Qt6

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6587
2021-10-05 08:27:02 -04:00
Craig Scott a742088472 Tests: Add support for testing Qt6
The minimum CMake version for Qt6 is 3.16, so all the calls to
cmake_minimum_required() are updated here to enforce that
minimum. This will avoid any CMake version-related warnings
from Qt.

Avoid hard-coding Qt5 where the tests could now be using
Qt5 or Qt6.

Fixes: #22188
2021-10-04 22:10:57 +11:00
Brad King 5329366527 ci: update cuda9.2 base image after DST Root CA X3 expiry 2021-10-01 10:21:39 -04:00
Brad King 6ed656680d Merge topic 'ci-msvc-19.29-16.11'
09c7c0a9c3 gitlab-ci: Update Windows builds to MSVC 19.29-16.11 toolset

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6501
2021-09-09 13:17:32 -04:00
Brad King 09c7c0a9c3 gitlab-ci: Update Windows builds to MSVC 19.29-16.11 toolset 2021-09-02 14:24:25 -04:00
Brad King bf10664032 Merge topic 'ci-use-3.21.0'
79e139e3d3 ci: use CMake 3.21.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6349
2021-07-15 10:54:40 -04:00
Ben Boeckel 79e139e3d3 ci: use CMake 3.21.0 2021-07-14 13:25:51 -04:00
Brad King 9b12ffc1e8 Merge topic 'FindBLAS-LAPACK-All'
31ac4b9165 ci: Verify that Intel MKL is found when it is the only BLAS/LAPACK
57dcde19da Find{BLAS,LAPACK}: Avoid clobbering results when no vendor is requested

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6336
2021-07-13 08:15:07 -04:00
Brad King 31ac4b9165 ci: Verify that Intel MKL is found when it is the only BLAS/LAPACK
Issue: #22403
2021-07-12 11:11:37 -04:00
Brad King 71ab24015f gitlab-ci: add job testing hip4.2 with Ninja Multi-Config 2021-07-09 13:48:28 -04:00
Brad King 2e124fa22d ci: add hip4.2 base image 2021-07-09 13:35:05 -04:00
Brad King 900617f977 Merge topic 'FindGLUT-pkg-config'
f90d15458a FindGLUT: Use pkg-config to find flags if available
f3f0401187 FindGLUT: Reduce if/else nesting and indentation
bece79f9be Tests: Add case covering FindGLUT variables and imported targets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6251
2021-07-07 09:32:38 -04:00
Brad King 058253aa87 Merge topic 'ci-fixups'
46c89c77de gitlab-ci: Rename CI config variable to avoid conflict with CMAKE_BUILD_TYPE
3ede66e17a Tests: Fix newline matching in several RunCMake.* cases

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6298
2021-07-06 09:47:50 -04:00
Christopher Degawa bece79f9be Tests: Add case covering FindGLUT variables and imported targets
Signed-off-by: Christopher Degawa <ccom@randomderp.com>
2021-07-02 13:33:18 -05:00
Brad King 46c89c77de gitlab-ci: Rename CI config variable to avoid conflict with CMAKE_BUILD_TYPE
Since commit e216b9bbd3 (cmake: Allow CMAKE_BUILD_TYPE to be set by
environment variable, 2021-06-29), the `CMAKE_BUILD_TYPE` environment
variable is interpreted by CMake, and can affect the test suite.
Rename our CI config variable to avoid conflict.
2021-07-02 08:19:43 -04:00
Brad King 52749ed81f Merge topic 'cmake-upload-junit-reports'
cb5c03ed04 gitlab-ci: upload JUnit reports for builds
722270ff50 ci: update to 3.21.0-rc2 for CI usage

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !6072
2021-07-02 08:06:54 -04:00
Brad King 6b0b6efc75 gitlab-ci: add job testing cuda9.2 with Ninja Multi-Config 2021-07-01 11:47:02 -04:00
Brad King bf6965fbb8 ci: add cuda9.2 base image 2021-07-01 11:47:02 -04:00
Ben Boeckel cb5c03ed04 gitlab-ci: upload JUnit reports for builds
GitLab can render test results which come from JUnit files and inform
which tests have started failing on an MR.
2021-06-30 11:56:05 -04:00
Ben Boeckel 722270ff50 ci: update to 3.21.0-rc2 for CI usage
This version includes JUnit support in CTest.
2021-06-30 11:56:05 -04:00
Brad King 53cb34cb23 ci: add freeglut to Debian and Fedora base images 2021-06-28 11:10:30 -04:00
Brad King b07253f754 ci: update keyserver URL
The `sks-keyservers.net` keyserver pool is no longer provided.
Switch to `keyserver.ubuntu.com` instead.
2021-06-28 10:59:56 -04:00
Brad King 54860f1f6b Merge topic 'ci-clang'
886a97cbe7 gitlab-ci: add job to test with clang-7 and ninja on debian10

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !6237
2021-06-17 06:36:32 -04:00
Brad King 4941bf5995 Merge topic 'ci-cuda'
f7af01efb6 gitlab-ci: add job testing cuda10.2 with clang 11
9548b059c0 ci: add clang-11 to cuda10.2 base image

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !6236
2021-06-17 06:35:39 -04:00
Brad King 886a97cbe7 gitlab-ci: add job to test with clang-7 and ninja on debian10
In commit 7e5e558d0f (gitlab-ci: add job to test with clang-7 on
debian10, 2021-06-04) we added coverage of clang-7 with the Unix
Makefiles generator.  Do the same for Ninja.
2021-06-16 14:57:34 -04:00
Brad King f7af01efb6 gitlab-ci: add job testing cuda10.2 with clang 11 2021-06-16 14:25:38 -04:00
Brad King 9548b059c0 ci: add clang-11 to cuda10.2 base image 2021-06-16 14:18:09 -04:00
Brad King 7d6a71ac85 Merge topic 'ci-xcode-12.5'
9c98878451 gitlab-ci: update macOS jobs to use Xcode 12.5

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6229
2021-06-16 08:14:42 -04:00
Brad King 9c98878451 gitlab-ci: update macOS jobs to use Xcode 12.5 2021-06-15 15:42:08 -04:00
Brad King 15b1d5ab9c Merge topic 'ci-rpm'
369725faa5 gitlab-ci: add job to run CPack RPM tests
1186ed64d0 ci: add rpm-build to Fedora base image
60380bd77c Tests: Fix RunCMake.CPack_RPM.DEBUGINFO test case
5130ff6878 Tests: Fix CPackComponentsForAll-RPM-IgnoreGroup test on Fedora 34

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !6214
2021-06-11 06:10:34 -04:00
Brad King 4217e1cf3a Merge topic 'FindBLAS-mkl-gnu'
daa0a1f877 Find{BLAS,LAPACK}: Add tests covering Intel MKL with GNU compiler
624110b90d FindBLAS: Revert "Do not statically link against iomp5 ... Intel MKL"

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6213
2021-06-11 06:05:54 -04:00
Brad King 1186ed64d0 ci: add rpm-build to Fedora base image
This is needed to test the CPack RPM generator.
2021-06-10 14:44:02 -04:00
Brad King daa0a1f877 Find{BLAS,LAPACK}: Add tests covering Intel MKL with GNU compiler 2021-06-10 13:00:45 -04:00