Commit Graph

292 Commits

Author SHA1 Message Date
Brad King
e217153dc0 ci: Explicitly disable Java tests on VS builds
Extend the change from commit 840fa28d3d (ci: Explicitly disable Java
tests on Windows, 2021-12-16) to cover VS builds too.
2021-12-22 09:09:33 -05:00
Brad King
4d471f6630 Merge topic 'ci-windows-no-java'
840fa28d3d ci: Explicitly disable Java tests on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6807
2021-12-16 11:08:41 -05:00
Brad King
840fa28d3d ci: Explicitly disable Java tests on Windows
Avoid searching for a Java installation on Windows hosts.
This will allow some CI hosts to have Java for other projects.

We already do this on macOS.  While at it, clarify the macOS setting.
2021-12-16 11:03:30 -05:00
Brad King
9f5c872ed1 ci: Exclude spuriously failing test from JOM nightly CI job
Since commit 3b9975d9b5 (ci: Add JOM nightly CI job, 2021-11-17) the
`ExternalProject` test often fails spuriously with an internal error
message from JOM.  Exclude it for now pending further investigation.

Prior to covering JOM in CI, it was covered by a standalone nightly
build that excluded the `ExternalProject` test for the same reason.
2021-12-09 10:42:13 -05:00
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
e614cb037b Merge topic 'ci-xcode-13.1'
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:49 -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
Ben Boeckel
c0d8e42a08 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-22 12:58:25 -05:00
Brad King
5cc6d7058a Merge topic 'ci-gmock'
fae34ea007 ci: add gmock to Debian base images

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6746
2021-11-19 09:08:16 -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
3b9975d9b5 ci: Add JOM nightly CI job 2021-11-17 12:50:16 -05:00
Brad King
ec68e3c5c6 ci: Add NMake nightly CI job 2021-11-17 12:49:43 -05:00
Brad King
bd00882f49 gitlab-ci: Factor out windows_vcvarsall_vs2022_x64 config block
Isolate the vcvarsall variables in a dedicated block.
2021-11-17 12:07:45 -05:00
Brad King
99c335c8e8 gitlab-ci: Clarify MSVC v71 job script config block name
Rename `cmake_test_windows_{nmake => msvc}` since it fetches MSVC,
not NMake.
2021-11-17 12:07:40 -05:00
Brad King
3d4073b129 gitlab-ci: Try upstream ninja development branch in a Windows nightly job 2021-11-15 10:24:32 -05:00
Brad King
bbb2664547 gitlab-ci: Add wix, cmake, and ninja to PATH incrementally on Windows
Also run their scripts in an isolated child process.
2021-11-15 10:24:32 -05:00
Brad King
658009b6fe ci: Fix vcvarsall.ps1 environment variable lookup
Previously we were relying on `VCVARSPLATFORM` and `VCVARSVERSION`
powershell script variables.  Read them from the environment directly.
2021-11-15 10:24:32 -05:00
Brad King
94ae6b7872 ci: Enable FindODBC and FindOpenMP tests on Windows VS builds
The packages comes with the Windows SDK and/or the compiler.
2021-11-12 11:13:00 -05:00
Brad King
e731afd8b3 ci: Add VS 2019 nightly CI jobs
Now that the primary VS jobs have been converted to VS 2022,
add nightly CI jobs to cover VS 2019.
2021-11-12 11:06:17 -05:00
Brad King
b63a87582f gitlab-ci: Update Windows jobs to VS 2022 2021-11-11 13:12:42 -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
39bdb1e332 gitlab-ci: Re-organize Windows job tags
Name the tag groups based on the VS version needed, if any.  Drop
VS-related tags from Windows jobs that do not need any pre-installed VS
version.
2021-11-11 12:06:48 -05:00
Brad King
11903f1b5f ci: Add MSVC v71 NMake nightly CI job 2021-11-01 17:35:00 -04:00
Brad King
eeb8391fd6 Merge topic 'ci-scheduled'
ada9855b78 gitlab-ci: Run manual jobs automatically only on scheduled pipelines

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !6671
2021-10-27 14:49:46 -04: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
b7863da78f ci: Avoid OpenWatcom linker temp file collisions
When `wlink` needs to spill into a temporary file, code in `spillio.c`
checks environment variables `WLINKTMP`, `TMP`, and `TMPDIR` to get a
directory for temporary files.  It searches for a name `WLK02112.xx*`
that doesn't exist, where `*` starts at `a` and increments.  Then it
opens the file with the chosen name.  This can race among concurrent
`wlink` invocations that may all chose the same name before opening,
and causes errors like:

    Error! E3008: cannot open C:\...\Temp\WLK02112.xxa : Permission denied

Since `wmake` does not run parallel jobs, this normally isn't a problem.
However, our test suite runs multiple tests in parallel.  Each test has
its own `wmake` invocation, and therefore can run `wlink` concurrently.

Set `WLINKTMP=.` in the environment to tell each `wlink` to place
temporary files in its own working directory, which will be different
for each separate `wmake` invocation in our test suite.
2021-10-21 10:47:39 -04:00
Brad King
14f2dbad03 ci: Add Open Watcom 1.9 nightly CI job 2021-10-18 10:17:47 -04:00
Brad King
45d02c9fdc ci: Add Borland 5.5 and 5.8 nightly CI jobs 2021-10-13 13:59:30 -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