summaryrefslogtreecommitdiff
path: root/.gitlab/ci
Commit message (Collapse)AuthorAgeFilesLines
* ci: Update LLVM/Clang to 16.0 in nightly CI jobs on WindowsBrad King2023-03-211-5/+5
|
* FindwxWidgets: Add an imported targetCheesyNacho102023-03-083-0/+3
|
* ci: Add wxWidgets to Debian and Fedora base imagesBrad King2023-03-083-0/+3
|
* Merge topic 'clang-16-cxx-modules'Brad King2023-03-061-11/+0
|\ | | | | | | | | | | | | | | | | 3fe8e33f27 Clang: Record Clang 16.0 flags for our experimental C++ modules support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !8285
| * Clang: Record Clang 16.0 flags for our experimental C++ modules supportBrad King2023-03-031-11/+0
| | | | | | | | LLVM/Clang 16.0 now contains official support for what CMake needs.
* | Merge topic 'ci-package-pipeline'Brad King2023-03-0113-0/+79
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | 7c60a2625d gitlab-ci: Optionally upload release packages to custom URL fc8a981893 gitlab-ci: Generalize package and help upload URLs f73649823b gitlab-ci: Stage unsigned release package artifacts in a dedicated directory 0929221ca3 gitlab-ci: Simplify Windows packaging pipeline ce2e825306 gitlab-ci: Simplify macOS packaging jobs 05531a7c4e gitlab-ci: add pre-build and post-build steps to Windows 5ab92d8e71 gitlab-ci: add pre-build and post-build steps to macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8266
| * gitlab-ci: Stage unsigned release package artifacts in a dedicated directoryBrad King2023-02-282-1/+11
| | | | | | | | | | | | These artifacts need to be manually signed before distribution. Move them to a dedicated `unsigned/` directory to avoid accidental distribution without signing.
| * gitlab-ci: Simplify Windows packaging pipelineBrad King2023-02-288-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | In commit 4c7c66dcf5 (gitlab-ci: Add jobs to make Windows x86_64 and i386 packages, 2022-05-19, v3.24.0-rc1~112^2) we used a separate Windows packaging job in nightly packaging pipelines. It did not run in release pipelines, where we need to run the final packaging step manually with signing. Simplify nightly packaging pipelines by running `cpack` at the end of the build job as we do for other platforms. For release packaging pipelines, create an archive of the files needed to build a package, and present this as the built "package" on Windows.
| * gitlab-ci: Simplify macOS packaging jobsBrad King2023-02-283-0/+5
| | | | | | | | Run cpack in a post-build step instead of duplicating the job script.
| * gitlab-ci: add pre-build and post-build steps to WindowsBrad King2023-02-282-0/+8
| | | | | | | | | | | | Apply the approach from commit 372ce5bffe (ci: add pre-build and post-build steps to Linux, 2022-12-05, v3.26.0-rc1~225^2~1) to build jobs on Windows.
* | gitlab-ci: Add nightly jobs covering macOS universal binaries on x86_64Brad King2023-02-214-0/+6
| |
* | Merge topic 'ci-cxx-modules-clang'Brad King2023-02-162-6/+7
|\ \ | |/ | | | | | | | | | | 65ff605e44 ci: use the latest clang-scan-deps options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8208
| * ci: use the latest clang-scan-deps optionsKefu Chai2023-02-152-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | P1689 support has been merged in Clang trunk and Clang 16 branch, so we are now able to use the finalized clang-scan-deps command line options. See also llvm-project's clang/test/ClangScanDeps/P1689.cppm [1] for the samples of clang-scan-deps usages. [1] https://github.com/llvm/llvm-project/blob/6d859df46e/clang/test/ClangScanDeps/P1689.cppm Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
* | ci: Enable FindPatch tests on Windows VS buildsBrad King2023-02-132-0/+2
| | | | | | | | | | The `patch` tool comes with Git for Windows, which is installed on our Windows CI hosts as part of running their gitlab-runner.
* | Merge topic 'test-https-connections'Brad King2023-02-119-0/+9
|\ \ | |/ | | | | | | | | | | | | | | 3350c17451 ci: Enable file(DOWNLOAD) TLS_VERIFY test case in CI jobs 17b47da3d8 Tests: Add test for file(DOWNLOAD) with TLS_VERIFY Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8194
| * ci: Enable file(DOWNLOAD) TLS_VERIFY test case in CI jobsBrad King2023-02-109-0/+9
| |
* | Merge topic 'feature/sphinx-linkcheck'Brad King2023-02-081-0/+3
|\ \ | |/ |/| | | | | | | | | | | 6789af36bf Help: Fix broken links found by `linkcheck` 8f4bd3bf7e ci: Check for broken links when build HTML manual Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8177
| * ci: Check for broken links when build HTML manualAlex Turbov2023-02-071-0/+3
| |
* | ci: Reduce Fedora and Debian image sizes even moreAlex Turbov2023-02-0723-405/+590
|/ | | | | | | | | | | | Apply the approach from commit 354fdf2116 (ci: Reduce intermediate docker layers and final image size, 2023-02-01) to more stages. Also: * Use cache (prefetch metadata and packages) to reduce network I/O and speedup image build. * Use `tmpfs` to drop logs produced by the package manager.
* ci: Reduce intermediate docker layers and final image sizeAlex Turbov2023-02-063-20/+18
| | | | | Instead of `COPY` to get tar files, execute `RUN` w/ `--mount`. Note that this requires the docker "buildkit" feature to be enabled.
* ci: support debugging IWYU in CIBen Boeckel2023-01-301-1/+29
| | | | | | | Instead of requiring setting up a mock CI environment with the official image locally. While such docs would be handy anyways, requiring that entire setup to get a small piece of information from a build is unnecessary.
* Merge topic 'iwyu-better-ci-logs'Brad King2023-01-301-0/+2
|\ | | | | | | | | | | | | | | bf3425c3d2 ci: add a comment to run IWYU in verbose mode 25f0b4f397 CMake: add an option to run IWYU in verbose mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8130
| * ci: add a comment to run IWYU in verbose modeBen Boeckel2023-01-271-0/+2
| | | | | | | | Useful to avoid setting up the CI locally to get a single extra message.
* | FindImageMagick: Define targets for specific componentshstejas2023-01-273-0/+3
|/ | | | | | | - With this change we can use e.g. ImageMagick::Magick++ directly in targt_link_libraries. - This change also adds CFLAGS which was missing before. - Also adds example on how to use the targets.
* ci: add ImageMagick to Debian and Fedora base imagesBrad King2023-01-263-0/+3
|
* ci: rebase nvidia-derived docker images on tags we controlBrad King2023-01-205-5/+5
| | | | | | | | | According to NVIDIA's container image support policy [1], they will remove tags for older images over time. In order to preserve our ability to rebuild CI images based on them in the future, base them on tags we control. [1] https://gitlab.com/nvidia/container-images/cuda/blob/85fbd45b92/doc/support-policy.md
* cxxmodules: support new round of Clang patchesBen Boeckel2022-12-151-3/+4
| | | | | | | | | | These patches now support the `-MF` output, so remove the `none` support added just for the old patchset which did not use it. Also update the flag name to `-fmodule-output=`. Due to the new Clang module mapper flag, use a new experimental support UUID as well.
* ci: update `llvm` snapshot to newest patch revisionsBen Boeckel2022-12-151-1/+1
|
* ci: run commit messages through codespellKyle Edwards2022-12-131-0/+16
|
* Merge topic 'ci-nvhpc'Brad King2022-12-073-5/+1
|\ | | | | | | | | | | | | 12d032b265 gitlab-ci: Update NVHPC to version 22.11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7994
| * gitlab-ci: Update NVHPC to version 22.11Brad King2022-12-063-5/+1
| | | | | | | | Fixes: #24225
* | Merge topic 'ci-cuda-no-static'Brad King2022-12-073-0/+34
|\ \ | |/ |/| | | | | | | | | 004f954401 ci: Add job to test minimal CUDA install (no static libs) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7996
| * ci: Add job to test minimal CUDA install (no static libs)Robert Maynard2022-12-063-0/+34
| | | | | | | | | | | | | | Some package managers provide a minimal set of static libraries, which historically has caused problems for FindCUDAToolkit. Resolve this issue by creating a CUDA image with only the minimal set of static libraries.
* | Merge topic 'ci-pre-build-post-build'Brad King2022-12-063-1/+39
|\ \ | | | | | | | | | | | | | | | | | | | | | a7be3c961f ci: build clang-tidy plugin in pre-build step 372ce5bffe ci: add pre-build and post-build steps to Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7989
| * | ci: build clang-tidy plugin in pre-build stepKyle Edwards2022-12-051-1/+3
| | | | | | | | | | | | And use sccache and Ninja.
| * | ci: add pre-build and post-build steps to LinuxKyle Edwards2022-12-052-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pre-build step will allow actions to be executed before the CMake build but after Ninja and sccache have been downloaded, so they can be used in the pre-build step. The env step is meant for setting up environment variables anyway, rather than performing actions. The post-build step will allow extra artifacts to be computed after the build is complete.
* | | Merge topic 'ci-nvhpc'Brad King2022-12-061-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7d2979d6eb gitlab-ci: Select CUDA version explicitly in NVHPC job Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7987
| * | | gitlab-ci: Select CUDA version explicitly in NVHPC jobBrad King2022-12-051-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The job added by commit 16a5c36795 (gitlab-ci: add nightly job testing NVHPC with Ninja on Linux, 2022-11-21) started failing after CI hosts were updated from NVIDIA driver version 520 to version 525. Somehow this causes the NVHPC multi-cuda `nvcc` wrapper to select CUDA 10.2 instead of 11.7 as with older driver versions. As a workaround, add the preferred version of `nvcc` to the PATH. Issue: #24225
* | | Merge topic 'cxx-module-map-clang'Brad King2022-12-067-0/+90
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c558cfd1b gitlab-ci: add CI jobs for Clang with C++20 modules abd42e9cfc ci: add a Docker container for clang support of C++20 modules 51093f3002 Clang-FindBinUtils: also find `clang-scan-deps` 0b333de923 ci: add C++ module rules file for Clang 21b9fb1e8c cmCxxModuleMapper: support the `clang` module map format 9c66224668 cmNinjaTargetGenerator: skip setting `depfile` for `none` scantypes 9123a0991f cmNinjaTargetGenerator: use `.clear()` to empty out some strings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !7978
| * | gitlab-ci: add CI jobs for Clang with C++20 modulesBen Boeckel2022-12-022-0/+8
| | |
| * | ci: add a Docker container for clang support of C++20 modulesBen Boeckel2022-12-024-0/+66
| | |
| * | ci: add C++ module rules file for ClangBen Boeckel2022-12-021-0/+16
| |/
* | ci: enable C++20 module testing with the VS 2022 generatorBen Boeckel2022-12-011-0/+3
| |
* | Tests/RunCMake/CXXModules: split out collation-requiring testsBen Boeckel2022-12-013-3/+3
|/ | | | | Visual Studio does not currently have a place to insert the logic required to implement this test, so skip it if possible.
* FindCUDAToolkit: Ensure that paths provided have no symlinksRobert Maynard2022-11-301-3/+0
| | | | Fixes: #24188
* Merge topic 'ci-nvhpc'Brad King2022-11-295-0/+37
|\ | | | | | | | | | | | | | | 16a5c36795 gitlab-ci: add nightly job testing NVHPC with Ninja on Linux 9474d02386 Tests: Clarify CudaOnly.SeparateCompilationPTX output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7946
| * gitlab-ci: add nightly job testing NVHPC with Ninja on LinuxBrad King2022-11-285-0/+37
| |
* | Merge topic 'msvc-cxx-no-optin-experimental-flag'Brad King2022-11-291-0/+2
|\ \ | |/ |/| | | | | | | | | | | 12e4bc73cb MSVC: don't opt into dyndep support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7965
| * MSVC: don't opt into dyndep supportBen Boeckel2022-11-281-0/+2
| | | | | | | | | | | | | | Instead, just set the variables for how scanning works since that is part of the compiler mechanisms. Fixes: #24198
* | gitlab-ci: add jobs to test with Clang and LLVMFlang on FedoraBrad King2022-11-186-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | We already have `t:debian10-{makefiles,ninja}-clang` jobs covering old versions of Clang with Makefile and Ninja generators. Complement them with new `t:fedora37-{makefiles,ninja}-clang` jobs covering recent versions of Clang. Fedora 37 now packages LLVMFlang, so enable Fortran tests with that compiler too. Issue: #22387