summaryrefslogtreecommitdiffstats
path: root/.gitlab/os-linux.yml
Commit message (Collapse)AuthorAgeFilesLines
* ci: use the latest clang-scan-deps optionsKefu Chai2023-02-151-1/+1
| | | | | | | | | | | | 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: Reduce Fedora and Debian image sizes even moreAlex Turbov2023-02-071-3/+3
| | | | | | | | | | | | 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-061-2/+2
| | | | | Instead of `COPY` to get tar files, execute `RUN` w/ `--mount`. Note that this requires the docker "buildkit" feature to be enabled.
* ci: add ImageMagick to Debian and Fedora base imagesBrad King2023-01-261-3/+3
|
* gitlab-ci: update to new Clang CI image for C++ modulesBen Boeckel2022-12-151-1/+1
|
* ci: run commit messages through codespellKyle Edwards2022-12-131-1/+1
|
* gitlab-ci: de-duplicate cuda job settingsBrad King2022-12-071-21/+10
|
* Merge topic 'ci-nvhpc'Brad King2022-12-071-1/+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-061-1/+1
| | | | | | | | Fixes: #24225
* | Merge topic 'ci-cuda-no-static'Brad King2022-12-071-0/+15
|\ \ | |/ |/| | | | | | | | | 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-061-0/+15
| | | | | | | | | | | | | | 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-061-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 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: add pre-build and post-build steps to LinuxKyle Edwards2022-12-051-0/+2
| |/ | | | | | | | | | | | | | | | | | | | | 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.
* | gitlab-ci: add CI jobs for Clang with C++20 modulesBen Boeckel2022-12-021-0/+22
|/
* gitlab-ci: drop unnecessary linux kernel version tagBrad King2022-11-301-19/+2
| | | | | All our CI hosts now have Linux kernel version 3.17 or higher, so we no longer need a dedicated tag.
* gitlab-ci: replace 'linux' tags with 'linux-x86_64'Brad King2022-11-301-5/+5
| | | | | The latter tag is now available on our CI runners to more explicitly distinguish `linux-x86_64` from `linux-aarch64`.
* gitlab-ci: rename tag configuration entries to start in '$os_$arch_tags'Brad King2022-11-301-10/+10
| | | | | This groups their definitions nicely, and makes their purpose more clear from reference sites.
* gitlab-ci: remove unnecessary component of configuration entry namesBrad King2022-11-301-11/+11
| | | | | The '_builder' part of tag entry names is not useful with our current naming conventions.
* gitlab-ci: add nightly job testing NVHPC with Ninja on LinuxBrad King2022-11-281-0/+19
|
* gitlab-ci: add jobs to test with Clang and LLVMFlang on FedoraBrad King2022-11-181-0/+13
| | | | | | | | | | | | 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
* gitlab-ci: use Fedora 37 images and environmentsBrad King2022-11-171-32/+32
|
* ci: add include-what-you-use to Fedora base imageKyle Edwards2022-10-041-1/+1
|
* ci: Revert "add clang-tidy to Debian x86_64 base image"Brad King2022-09-291-1/+1
| | | | | | | | | Revert commit 0ac9ec47f6 (ci: add clang-tidy to Debian x86_64 base image, 2022-09-20). Our clang-tidy job runs under Fedora, and we need the plugin to compile there anyway, so lints like IWYU will best be done in the Fedora image. Issue: #23912
* ci: add clang-tidy to Debian x86_64 base imageKyle Edwards2022-09-221-1/+1
| | | | Issue: #23912
* ci: add clang-tidy development headers to Fedora base imageKyle Edwards2022-08-311-1/+1
| | | | Prepare to build our own clang-tidy plugin in CI.
* ci: add OpenSP to Debian and Fedora base imagesBrad King2022-08-301-3/+3
|
* gitlab-ci: add jobs to test CMake with external dependencies on LinuxBrad King2022-08-181-0/+24
| | | | | Test that CMake works without its bundled dependencies. For some dependencies, test using the minimum supported version.
* ci: add CMake external build dependencies to Debian and Fedora base imagesBrad King2022-08-181-3/+3
|
* Remove stale references to CMakeServerLibKyle Edwards2022-08-021-1/+1
|
* Merge topic 'gcc-modules-ci-missing-git'Brad King2022-06-231-1/+1
|\ | | | | | | | | | | | | | | 5db79b5cd3 gitlab-ci: update to an image with git installed 3e1ace7f46 ci: add git to the CI image Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7398
| * gitlab-ci: update to an image with git installedBen Boeckel2022-06-211-1/+1
| |
* | Merge topic 'ci-openal'Brad King2022-06-221-3/+3
|\ \ | |/ |/| | | | | | | | | b97d371007 ci: Add OpenAL to Debian and Fedora base images Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7394
| * ci: Add OpenAL to Debian and Fedora base imagesBrad King2022-06-211-3/+3
| |
* | gitlab-ci: test C++ modules using GCCBen Boeckel2022-06-161-0/+24
|/
* ci: remove ISPC from the Fedora CI imageBrad King2022-06-061-1/+1
| | | | | | | | | Revert commit 5ece12b7e4 (gitlab-ci: add ISPC to the Fedora CI image, 2020-08-18, v3.19.0-rc1~244^2). Later we will download ISPC in specific jobs. Update a `RunCMake.NinjaMultiConfig` test expectation to account for a change to the Qt deployed on Fedora 36.
* gitlab-ci: use Fedora 36 images and environmentsBen Boeckel2022-05-241-29/+29
|
* ci: Add libicu to Debian and Fedora base imagesBrad King2022-04-221-3/+3
|
* Merge topic 'ci-cmake.org-help'Brad King2022-04-061-1/+3
|\ | | | | | | | | | | | | | | b691906d27 gitlab-ci: Build qthelp-format release documentation for cmake.org 1ceec19c20 gitlab-ci: Add objects.inv to cmake.org html documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7146
| * gitlab-ci: Build qthelp-format release documentation for cmake.orgBrad King2022-04-061-1/+3
| | | | | | | | | | Previously the qthelp-format release documentation on `cmake.org` was built manually.
* | Merge branch 'backport-ci-cmake.org-help' into ci-cmake.org-helpBrad King2022-04-051-1/+4
|\ \ | |/
| * gitlab-ci: update cmake.org documentation in release package pipelineBrad King2022-04-051-0/+1
| |
| * Utilities/Sphinx: Add option to build outdated version banner for cmake.orgBrad King2022-04-051-0/+1
| | | | | | | | | | This was previously added in a custom branch for building the cmake.org reference documentation.
| * Utilities/Sphinx: Add undocumented option to build docs for cmake.orgBrad King2022-04-051-1/+2
| |
* | ci: Add OpenJDK to Debian and Fedora base imagesBrad King2022-03-211-3/+3
| | | | | | | | This enables the `JavaExportImport` test in CI.
* | ci: Clamp CUDA 'native' architecture to values supported by its toolkitBrad King2022-03-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `native` architecture compiles for the host's GPUs, but our CI jobs may may run on hosts with GPUs newer than supported by their version of the CUDA toolkit. Add an undocumented environment variable to tell CMake to clamp the native architecture to that supported by the toolkit. Without this, we may try to compile for architectures not supported by the CUDA Toolkit, which fails. Since commit d1b48bfabd (CUDA: Add support for CUDA_ARCHITECTURES=native, 2022-03-04), our CUDA 9.2 CI job fails when it runs on a CI host with a GPU architecture newer than that CUDA 9.2 supports. Clamping the architecture level fixes that. Do not document this clamp behavior publicly, at least for now. Users can be responsible for building with a CUDA toolkit recent enough to support their host's GPUs. Issue: #22375
* | Merge topic 'ci-cuda-11.6'Brad King2022-03-041-0/+22
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 1f601753d7 gitlab-ci: add jobs testing cuda11.6 with nvcc and clang 13 7716750062 ci: add cuda11.6 base image 77bdcc949d gitlab-ci: run CUDA and HIP test jobs in any non-MR pipeline Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7038
| * | gitlab-ci: add jobs testing cuda11.6 with nvcc and clang 13Brad King2022-03-031-0/+22
| | |
* | | ci: add nightly CI job to build CMake in-placeBrad King2022-03-021-0/+24
| | |
* | | ci: Rename ctest_test_external.cmake to ctest_standalone.cmakeBrad King2022-03-021-2/+2
| | | | | | | | | | | | | | | The script is a standalone ctest script that runs all steps. It can be used for more than just external tests.
* | | ci: Rename variable CMake_SKIP_INSTALL to CMAKE_CI_NO_INSTALLBrad King2022-03-021-4/+4
| | | | | | | | | | | | The latter follows our convention for other variable names.