summaryrefslogtreecommitdiffstats
path: root/.gitlab
Commit message (Collapse)AuthorAgeFilesLines
* ci: Add nightly job to build CMake with vendored curl on macOSBrad King2024-05-092-0/+19
| | | | | We now build with the system curl on macOS by default. Explicitly test that the vendored curl still works.
* macOS: Prefer building with system-provided curlBrad King2024-05-093-3/+3
| | | | | | | | | | | | | | | | | | | Our vendored curl only enables the Secure Transport backend by default (`CURL_SSL_BACKEND=secure-transport`), but it is limited to TLS 1.2. The macOS SDK provides the curl development components, and the corresponding `libcurl.4.dylib` runtime library comes with macOS. On macOS 12 and above, the default `CURL_SSL_BACKEND=openssl` backend seems to be capable of selecting TLS 1.3 at runtime for https connections. Unfortunately the macOS version of curl, even on macOS 14.4, does not accept `CURL_SSLVERSION_TLSv1_3` at runtime to enforce TLS 1.3. However, while our vendored curl accepts the option and passes it to Secure Transport, macOS does not actually enforce it anyway. Fixes: #25870 Fixes: #23701
* ci: Host our own URL to test expected TLS_VERIFY failureBrad King2024-05-089-9/+9
| | | | Avoid unnecessary load on an external resource.
* Tests/RunCMake/file-DOWNLOAD: Add option to control TLS_VERIFY failure URLBrad King2024-05-089-0/+9
|
* Remove unnecessary executable permission from .ps1 scriptsBrad King2024-04-3062-0/+0
| | | | | Powershell scripts cannot be launched as commands on Windows. They must be run through the `powershell` or `pwsh` tool.
* ci: Verify that C++26 modes work with GCC and Clang on FedoraBrad King2024-04-242-1/+4
|
* ci: Enable FindOpenACC tests in LLVM/Clang jobs on FedoraBrad King2024-04-241-0/+4
| | | | | Test commit 30962830dc (FindOpenACC: Add support for the Clang Compiler, 2024-02-01, v3.29.0-rc1~37^2) now that we have Clang 18.
* ci: Enable FindOpenACC test for each language independentlyBrad King2024-04-243-0/+9
|
* ci: Enable FindOpenMP tests in LLVM/Clang jobs on FedoraBrad King2024-04-241-0/+5
|
* ci: Subsume GCC C++ modules testing in main Fedora jobsBrad King2024-04-248-71/+2
| | | | | Fedora 40 comes with a RedHat branch of GCC 14.0, which supports the features we need for C++ modules.
* ci: use Fedora 40 images and environmentsBrad King2024-04-2440-64/+65
| | | | | | Leave the HIP-specific job on Fedora 39 for now. Issue: #25932
* ci: update Linux image to Fedora 40Brad King2024-04-247-14/+11
| | | | | | | Drop ROCm HIP packages from the image in favor of the dedicated Fedora 39 base image we use for that job. Issue: #25932
* ci: Move job for HIP tests on Fedora 39 to a dedicated base imageBrad King2024-04-241-1/+8
| | | | | | | | | The ROCm 6 HIP packages on Fedora 40 do not seem to fully work for our test suite in CI jobs. Use a dedicated image to run our HIP tests on Fedora 39 so that the rest of our Fedora jobs can be moved to Fedora 40 later. Issue: #25932
* ci: Add an image for ROCm 5 HIP packages on Fedora 39Brad King2024-04-243-0/+52
| | | | | | | | The ROCm 6 HIP packages on Fedora 40 do not seem to fully work for our test suite in CI jobs. Add a dedicated image to run our HIP tests on Fedora 39. Issue: #25932
* ci: Factor out scripts to add sccache to job environmentBrad King2024-04-224-3/+5
|
* ci: Factor out scripts to add ninja to job environmentBrad King2024-04-223-6/+5
|
* ci: Factor out scripts to add cmake to job environmentBrad King2024-04-225-11/+11
|
* Tests/CompileFeatures: Cover cuda_std_## meta-featuresBrad King2024-04-192-0/+2
|
* Merge topic 'FindBacktrace-imported-library'Brad King2024-04-162-0/+2
|\ | | | | | | | | | | | | 9433755e5d FindBacktrace: Add imported library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9406
| * FindBacktrace: Add imported libraryDavid Faure2024-04-152-0/+2
| | | | | | | | | | | | | | This is to avoid (a future version of) Qt from having to wrap FindBacktrace like [1]. [1] https://code.qt.io/cgit/qt/qtbase.git/tree/cmake/FindWrapBacktrace.cmake
* | ci: enable `import_std23` C++ module tests on MSVCBen Boeckel2024-04-111-1/+1
| |
* | ci: Enable FindJasper test on FedoraBrad King2024-04-101-0/+1
| |
* | ci: Add Jasper to Fedora base imageBrad King2024-04-102-1/+2
| |
* | C++26: Fix C++/CUDA/HIP compile feature supportRaul Tambre2024-04-091-1/+1
| | | | | | | | | | | | | | In commit f808d8afb9 (CMake: Support upcoming C++26 language level, 2022-08-19, v3.25.0-rc1~218^2) we forgot some necessary scaffolding. Fixes: #25819
* | Merge topic 'test-compile-features'Brad King2024-04-088-0/+31
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 31acc90abe ci: Record expected C and CXX language standard support c37e279014 Tests/CompileFeatures: Cover c_std_## and cxx_std_## meta-features 58cd9ee03c Tests/CompileFeatures: Factor out headers to compute C and C++ standard levels Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9401
| * | ci: Record expected C and CXX language standard supportBrad King2024-04-058-0/+31
| |/ | | | | | | | | | | Explicitly enable standard levels in the `CompileFeatures` test that are expected to work in each job regardless of whether compiler inspection detects support.
* | ci: add jobs testing cuda12.2 with nvcc and clang 18Brad King2024-04-054-0/+28
| |
* | ci: add cuda12.2 base imageBrad King2024-04-054-0/+83
|/
* ci: package .zip source archives using LF newlinesBrad King2024-04-011-1/+1
| | | | | | | | Previously we provided a `.zip` archive with CRLF newlines and a `.tar.gz` archive with LF newlines. This is no longer consistent with modern conventions. Use LF newlines in both. Fixes: #25467
* ci: package source archives using consistent command-line quoting conventionsBrad King2024-04-011-1/+1
|
* CPack/WIX: Add support for WiX Toolset v4Brad King2024-03-243-0/+5
| | | | | | | Add a `CPACK_WIX_VERSION` option to specify version WiX for which the project is configured. Fixes: #23910
* ci: Add scripts to provide WiX 4 package on WindowsBrad King2024-03-242-0/+21
| | | | | Run `.gitlab/ci/repackage/wix.ps1` with `-version 4.0.4` and host the package file ourselves.
* ci: Add script to repackage WiX .NET tool for our needsBrad King2024-03-241-0/+55
| | | | | WiX Toolset 4+ is provided only via nuget packages. Add a script to repackage the parts we need for CMake's own testing and packaging.
* Merge topic 'file-RPATH-large-ELF'Brad King2024-03-242-0/+4
|\ | | | | | | | | | | | | 615a1c6691 cmELF: Get correct section count for large ELF binaries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9310
| * cmELF: Get correct section count for large ELF binariesMartin Duffy2024-03-222-0/+4
| | | | | | | | Fixes: #24877
* | Tests: Pass path to WiX 3 into RunCMake.CPack_WIX testBrad King2024-03-195-4/+6
| | | | | | | | Avoid requiring its location to be in the PATH environment variable.
* | ci: Provide WiX 3 in PATH of jobs that need itBrad King2024-03-147-3/+12
| | | | | | | | Drop the `WIX` environment variable.
* | ci: Provide WiX 3 in versioned locationBrad King2024-03-143-4/+5
| | | | | | | | Prepare to provide multiple WiX major versions for testing.
* | Merge topic 'ci-xcode-15.3'Brad King2024-03-131-6/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 682767e8a5 Merge branch 'backport-3.28-ci-xcode-15.3' e572986231 LinkerId: Update detection of linker tool for Xcode 15.3 8a6d05aa9d gitlab-ci: update macOS jobs to use Xcode 15.3 7bf893bc30 Tests: Update RunCMake.CheckCompilerFlag for Xcode 15.3 7f5f0ab4b3 Tests: Update RunCMake.CompileFeatures for Xcode 15.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9333
| * \ Merge branch 'backport-3.28-ci-xcode-15.3'Brad King2024-03-121-6/+6
| |\ \
| | * | gitlab-ci: update macOS jobs to use Xcode 15.3Brad King2024-03-121-6/+6
| | | |
* | | | ci: Explicitly enable CPackWiXGenerator test only in specific jobsBrad King2024-03-112-0/+3
| | | | | | | | | | | | | | | | Drop the environment-based heuristic.
* | | | ci: Explicitly build WiX custom action in packaging jobsBrad King2024-03-111-0/+2
| | | | | | | | | | | | | | | | Drop the environment-based heuristic.
* | | | ci: Explicitly specify WiX architecture in packaging jobsBrad King2024-03-112-0/+6
| | | |
* | | | ci: Move job settings away from unrelated commentBrad King2024-03-111-2/+3
| | | |
* | | | ASM_NASM: Improve support for standalone usageVito Gamberini2024-03-042-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add tests for standalone NASM usage * Change generic ASM_NASM executable linker to <CMAKE_LINKER> * Use CMAKE_SYSTEM_PROCESSOR to determine output format when used without a C/CXX compiler
* | | | ci: Add nasm assembler to Debian and Fedora base imagesBrad King2024-03-043-2/+8
| |_|/ |/| |
* | | ci: Explicitly disable Java tests on more Windows jobsBrad King2024-03-011-0/+2
| | | | | | | | | | | | | | | | | | Extend the change from commit 840fa28d3d (ci: Explicitly disable Java tests on Windows, 2021-12-16, v3.22.2~17^2) to cover NMake, JOM, and Ninja Multi-Config jobs.
* | | ci: Enable VSAndroid test in VS 2022 nightly jobBrad King2024-02-292-0/+14
| | |
* | | ci: Enable VSAndroid test in VS 2019 nightly jobBrad King2024-02-292-1/+3
| | |