summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci
Commit message (Collapse)AuthorAgeFilesLines
* ci: Add nightly job to build CMake with vendored curl on macOSBrad King2024-05-091-0/+12
| | | | | 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-247-47/+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-2438-18/+18
| | | | | | 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: 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-222-0/+3
|
* ci: Factor out scripts to add ninja to job environmentBrad King2024-04-221-0/+3
|
* ci: Factor out scripts to add cmake to job environmentBrad King2024-04-222-0/+8
|
* 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-101-0/+1
| |
* | 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-053-0/+10
| |
* | ci: add cuda12.2 base imageBrad King2024-04-054-0/+83
|/
* 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-241-0/+20
| | | | | 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-146-0/+12
| | | | | | | | Drop the `WIX` environment variable.
* | ci: Provide WiX 3 in versioned locationBrad King2024-03-141-1/+2
| | | | | | | | Prepare to provide multiple WiX major versions for testing.
* | 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-042-0/+6
|/
* 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-291-0/+4
|
* ci: Enable VSAndroid test in VS 2019 nightly jobBrad King2024-02-291-0/+1
|
* file(DOWNLOAD|UPLOAD): Add TLS_VERSION option for https connectionsBrad King2024-02-289-0/+9
| | | | | | | Add an option to specify the minimum allowed TLS version for https connections. Issue: #25701
* Merge topic 'FindOpenMP-intel-oneapi-windows'Brad King2024-02-261-0/+4
|\ | | | | | | | | | | | | | | 6c09451ed3 ci: Enable FindOpenMP tests in Intel nightly CI jobs on Windows d427bfae61 FindOpenMP: Restore support for Intel compilers on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9284
| * ci: Enable FindOpenMP tests in Intel nightly CI jobs on WindowsBrad King2024-02-231-0/+4
| |
* | ci: Place temporary files inside job directory on WindowsBrad King2024-02-201-0/+8
| |
* | Merge topic 'ci-wix-3.14'Brad King2024-02-191-4/+5
|\ \ | |/ | | | | | | | | | | | | adb6af6959 ci: host WiX 3.14.0.8606 binaries ourselves 4c32b3690d ci: update to WiX 3.14.0.8606 release Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9264
| * ci: host WiX 3.14.0.8606 binaries ourselvesBrad King2024-02-161-2/+4
| | | | | | | | | | | | | | Follow the approach from commit 9ff7fffbf4 (ci: host WiX 3.14.0.6526 binaries ourselves, 2022-08-02, v3.24.0~6^2) for the updated version. Since we use WiX to package our official release binaries, avoid relying on an externally-hosted package by hosting it at `cmake.org`.