Commit Graph

308 Commits

Author SHA1 Message Date
Brad King a282714be9 gitlab-ci: Update Windows builds to MSVC 19.28 2020-11-17 13:34:51 -05:00
Ben Boeckel 3d1183c457 Merge branch 'ci-fedora33-release' into ci-fedora33
* ci-fedora33-release:
  gitlab-ci: use Fedora 33 to build sources
  gitlab-ci: update Linux CI to use Fedora 33
  ci: update to Fedora 33 for Linux builds
  ci: install gmock in the Fedora 31 image
  Tests/FindBoost/TestPython: support finding 3.8 and 3.9
  clang-tidy: ignore new warnings from newer versions
  clang-tidy: ignore `misc-no-recursion`
2020-11-13 09:46:40 -05:00
Ben Boeckel 6e35919e15 gitlab-ci: use Fedora 33 to build sources 2020-11-13 08:58:17 -05:00
Ben Boeckel 061f7d5ca3 gitlab-ci: update Linux CI to use Fedora 33 2020-11-13 08:58:17 -05:00
Ben Boeckel bd62d2ecf3 ci: update to Fedora 33 for Linux builds 2020-11-13 08:37:07 -05:00
Brad King ada3170625 ci: install gmock in the Fedora 31 image
The gmock libraries are referenced by GTest's CMake package files.

While at it, also explicitly install gettext.  It is installed already,
but make it explicit for future testing of the FindGettext module.

(cherry picked from commit 585cc7c930)
2020-11-13 08:37:03 -05:00
Brad King 7aa404de94 Merge topic 'ci-config-sync'
e68d3e3b44 ci: update to Qt 5.15.1
d759c4310d ci: update to use CMake 3.18.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5433
2020-10-27 12:32:42 -04:00
Ben Boeckel e68d3e3b44 ci: update to Qt 5.15.1 2020-10-27 09:49:07 -04:00
Ben Boeckel d759c4310d ci: update to use CMake 3.18.4 2020-10-27 09:48:56 -04:00
Brad King 585cc7c930 ci: install gmock in the Fedora 31 image
The gmock libraries are referenced by GTest's CMake package files.

While at it, also explicitly install gettext.  It is installed already,
but make it explicit for future testing of the FindGettext module.
2020-10-22 09:32:18 -04:00
Kyle Edwards ec3b3d2c2f Merge topic 'cmakepresets-schema' into release-3.19
21bc2fd945 CI: Install jsonschema for schema testing
e3bce8edf4 Tests: Add JSON schema validation to CMakePresets.json tests
0307f7c980 Help: Add JSON schema for CMakePresets.json

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5366
2020-10-21 09:15:29 -04:00
Kyle Edwards 1a03e1bb01 Merge topic 'cmakepresets-schema'
cf6ac2d365 Merge branch 'master' into cmakepresets-schema
21bc2fd945 CI: Install jsonschema for schema testing
e3bce8edf4 Tests: Add JSON schema validation to CMakePresets.json tests
0307f7c980 Help: Add JSON schema for CMakePresets.json

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5366
2020-10-21 09:15:29 -04:00
Brad King 9ef8477fe9 Merge topic 'ci-win-python'
8f7fef629b ci: add Python to PATH on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kyle Edwards <kyle.edwards@kitware.com>
Merge-request: !5403
2020-10-20 15:59:20 -04:00
Brad King 8f7fef629b ci: add Python to PATH on Windows
Our test suite searches for a Python interpreter to perform some extra
checks.  Our CI base images for Linux have Python available.  Update our
Windows jobs to provide a Python interpreter for our test suite to find
consistently between the build and test steps.
2020-10-20 15:11:12 -04:00
Kyle Edwards cf6ac2d365 Merge branch 'master' into cmakepresets-schema 2020-10-20 14:51:42 -04:00
Kyle Edwards 21bc2fd945 CI: Install jsonschema for schema testing 2020-10-20 12:18:10 -04:00
Brad King 30d872d2d1 Merge topic 'sccache-macos-without-timeouts'
b0fe666846 ci: use a patched sccache on macOS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kyle Edwards <kyle.edwards@kitware.com>
Merge-request: !5394
2020-10-19 10:21:58 -04:00
Ben Boeckel b0fe666846 ci: use a patched sccache on macOS
This version is much less likely to timeout on server startup since it
runs the expensive computation in a background thread.

See https://github.com/mozilla/sccache/pull/868 for the status.
2020-10-19 09:23:06 -04:00
Brad King a258d03e33 Merge topic 'FindIntl_use_imported_targets'
c30d06b7e6 FindIntl: Add imported target

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5333
2020-10-14 11:44:08 -04:00
Sibi Siddharthan c30d06b7e6 FindIntl: Add imported target
Fixes: #21271
Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
2020-10-13 15:11:40 -04:00
Kyle Edwards 544ee0edc0 CI: Add a long filename to a build
Nightly testing occasionally uncovers problems around long filenames
that were not found during gitlab-ci testing. Give a GitLab runner
a long filename to detect such problems.
2020-10-09 13:13:52 -04:00
Marc Chevrier 2549dc7c93 FindPython: Enable C language in tests that find the Development component
Since commit 5537ccd814 (FindPython: Tests optimizations, 2020-10-01)
some FindPython tests fail because the Development component cannot be
found without knowing `CMAKE_LIBRARY_ARCHITECTURE`.  Enable at least one
language in each of these test cases to get that value.  This is
consistent with use in practice because the Development component does
not make much sense without a language to compile sources anyway.

Fixes: #21277
2020-10-07 12:01:43 -04:00
Brad King dd47d0d7f4 gitlab-ci: add rules to enable jobs in a nightly pipeline schedule 2020-10-07 06:16:51 -04:00
Brad King 3f494b12ea gitlab-ci: configure continuous job ctest build name and model accordingly 2020-10-07 06:16:28 -04:00
Brad King 63c7e7ca04 gitlab-ci: factor out ctest_start() model into a variable 2020-10-07 06:12:44 -04:00
Brad King 0556bd2f8a gitlab-ci: use ctest_start GROUP option instead of deprecated TRACK 2020-10-07 06:12:05 -04:00
Ben Boeckel 39da646238 gitlab-ci: add FortranC test directory to the artifacts 2020-10-06 09:55:40 -04:00
Brad King 0792fe4759 ci: enable IPO tests on Debian 10 and Fedora 31 builds 2020-10-05 08:57:10 -04:00
Brad King c582e51909 ci: enable Fortran submodule tests on Debian 10 and Fedora 31 builds 2020-10-05 08:57:10 -04:00
Brad King 12b56269d4 ci: enable Qt5 tests on Debian 10 and Fedora 31 builds 2020-10-05 08:57:10 -04:00
Brad King 02e8befb74 gitlab-ci: add job to run test suite on Debian 10 with ninja 2020-10-05 08:57:10 -04:00
Brad King 2bb2a283e9 ci: add packages for many find modules to the Debian 10 image 2020-10-05 08:57:10 -04:00
Brad King 03fb06b8e7 ci: enable many find module tests for the Fedora 31 Makefiles build 2020-10-05 08:57:10 -04:00
Brad King b23f36bba6 ci: add packages for many find modules to the Fedora 31 image 2020-10-05 08:57:10 -04:00
Brad King a58e3c7e8b ci: Skip the Module.ExternalData test on Windows
This test spuriously fails too frequently and breaks our pipelines.
Pending further investigation into the race causing the failure, skip
the test on Windows for now.  The module is well covered by the test on
other platforms anyway.
2020-10-01 15:31:35 -04:00
Brad King 22b3a1abd9 ci: support a max parallelism for test-ext jobs
Machines may have more cores than testing actually supports.

Apply the change from commit e80362252f (ci: support a max parallelism
for tests, 2020-09-28) to tests in the test-ext stage too.
2020-10-01 11:22:31 -04:00
Ben Boeckel 1853201bfa gitlab-ci: hide modern whitespace attribute usage from old Git versions
The old Git doesn't understand our new `eol=` attribute usage, so make
it not care about the difference.
2020-10-01 07:32:23 -04:00
Ben Boeckel bd83c9f073 gitlab-ci: add jobs to make Linux release packages
These reuse the doc artifacts as the macOS package does.
2020-10-01 07:32:14 -04:00
Brad King ff72dbfb14 gitlab-ci: configure rules to enable continuous builds of staged MRs
Configure rules to allow jobs for continuous builds to be enabled on a
project that configures a specific branch this purpose.
2020-09-30 15:00:56 -04:00
Brad King a7afd8d3b0 gitlab-ci: use separate rules for dependent jobs 2020-09-30 14:29:20 -04:00
Brad King 45633a6297 gitlab-ci: add a job to make source packages 2020-09-29 11:18:45 -04:00
Brad King 17decc4691 gitlab-ci: re-organize packaging pipeline
Move the macOS package build job into the `build` stage.  Since it
depends on the sphinx doc package job, add a preceding `prep` stage.
2020-09-29 11:13:14 -04:00
Ben Boeckel e80362252f ci: support a max parallelism for tests
Machines may have more cores than testing actually supports.
2020-09-28 09:57:24 -04:00
Ben Boeckel 93a745683b sccache: use a different port for CMake builds
This avoids server reuse between different projects on the same machine.
2020-09-28 09:55:42 -04:00
Brad King a258283160 ci: convert one build to cover strict C++11 usage
Without this, we do not cover compilation with only C++11 until nightly
testing, at which point many builds require it, and failures block
merging anything that was staged.
2020-09-28 09:23:31 -04:00
Kyle Edwards 1dcc569828 gitlab-ci: Add GUI testing to each OS 2020-09-23 14:10:40 -04:00
Brad King 6dca75fd86 gitlab-ci: minimize pipeline for packaging 2020-09-17 13:12:30 -04:00
Brad King 135a2d26d3 gitlab-ci: update macOS jobs to use Xcode 11.7 2020-09-17 11:27:17 -04:00
Brad King 53709c764e gitlab-ci: update macOS jobs to use Xcode 11.7 2020-09-17 11:26:22 -04:00
Brad King d747684bbb gitlab-ci: reduce verbosity of binary upload
Tell `ssh` not to print informational messages.
2020-09-17 10:12:48 -04:00