Commit Graph

308 Commits

Author SHA1 Message Date
Brad King
fade5b5b8c gitlab-ci: Update Windows builds to MSVC 19.31 toolset 2022-03-09 10:00:57 -05:00
Brad King
1f601753d7 gitlab-ci: add jobs testing cuda11.6 with nvcc and clang 13 2022-03-03 12:46:47 -05:00
Brad King
7716750062 ci: add cuda11.6 base image 2022-03-03 12:02:35 -05:00
Brad King
3900a31f44 Merge topic 'test-mfc-explicit' into release-3.23
9d621ceba1 Tests: Run MFC test only when explicitly enabled

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6943
2022-02-04 08:08:23 -05:00
Brad King
9d621ceba1 Tests: Run MFC test only when explicitly enabled
Previously we used a complicated heuristic to decide whether or not to
run the MFC test, but it sometimes decided incorrectly to run the test.
Since that was first written, we have developed a convention for other
tests to enable them via undocumented cache entries that are added only
on machines known to meet the tests' requirements.  Do that for MFC.
2022-02-03 06:45:53 -05:00
Brad King
040c509bce gitlab-ci: clarify name of windows fragment for building with ninja 2022-02-02 16:27:02 -05:00
Brad King
c76abba044 gitlab-ci: update to Fedora 35 base images 2022-02-01 17:20:29 -05:00
Brad King
0ab6e5ca5b gitlab-ci: update to Fedora 35 for upload jobs 2022-02-01 17:20:29 -05:00
Brad King
1729e1292d ci: update to Fedora 35 for Linux base images 2022-02-01 17:20:29 -05:00
Brad King
4aedf84da3 Merge topic 'ci-assertions'
45feab3c00 gitlab-ci: enable assertions on fedora34-ninja jobs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6927
2022-02-01 10:25:50 -05:00
Brad King
45feab3c00 gitlab-ci: enable assertions on fedora34-ninja jobs
We should have at least one CI job in merge request pipelines that
builds CMake with assertions enabled.  We avoid using the `Debug`
configuration in order to keep CI artifacts small, so instead use
the `Release` configuration without `-DNDEBUG`.
2022-01-31 11:34:12 -05:00
Brad King
5140e7bc30 Merge topic 'ci-xcode-13.2'
8cb32fc8ad gitlab-ci: update macOS jobs to use Xcode 13.2

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6897
2022-01-25 06:55:46 -05:00
Brad King
7f7f3ba277 Merge topic 'ci-xcode-13.2' into release-3.22
8cb32fc8ad gitlab-ci: update macOS jobs to use Xcode 13.2

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6897
2022-01-25 06:55:45 -05:00
Brad King
8cb32fc8ad gitlab-ci: update macOS jobs to use Xcode 13.2 2022-01-25 05:06:40 -05:00
Brad King
5c9310c714 ci: Enable ccmake on Windows 2022-01-19 10:53:09 -05:00
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
85a07b4b49 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:08 -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