diff options
author | Brad King <brad.king@kitware.com> | 2022-02-02 20:53:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-02-04 13:24:53 (GMT) |
commit | c1f4bd792b28af10ded274e569b4b75cc722f0b7 (patch) | |
tree | 31eeee3197f8afe90e32708aa61b981662a06430 /.gitlab/os-windows.yml | |
parent | f84dcbd496ad6abb1491b621142e2c222f23c11c (diff) | |
download | CMake-c1f4bd792b28af10ded274e569b4b75cc722f0b7.zip CMake-c1f4bd792b28af10ded274e569b4b75cc722f0b7.tar.gz CMake-c1f4bd792b28af10ded274e569b4b75cc722f0b7.tar.bz2 |
ci: Add LLVM/Clang 13.0 nightly CI jobs on Windows
Add jobs covering the `clang-cl` front-end with Ninja and NMake.
Add a job covering the `clang++` front-end with Ninja.
Diffstat (limited to '.gitlab/os-windows.yml')
-rw-r--r-- | .gitlab/os-windows.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.gitlab/os-windows.yml b/.gitlab/os-windows.yml index 2bce8c8..d01c828 100644 --- a/.gitlab/os-windows.yml +++ b/.gitlab/os-windows.yml @@ -87,6 +87,14 @@ variables: CMAKE_CONFIGURATION: windows_borland5.8 +.windows_ninja: + extends: .windows + + variables: + CMAKE_GENERATOR: "Ninja" + CMAKE_CI_BUILD_TYPE: Release + CMAKE_CI_NIGHTLY_IGNORE_DEPS: "true" + .windows_nmake: extends: .windows @@ -119,6 +127,22 @@ variables: CMAKE_CONFIGURATION: windows_vs2022_x64_jom +.windows_clang_ninja: + extends: + - .windows_ninja + - .windows_vcvarsall_vs2022_x64 + + variables: + CMAKE_CONFIGURATION: windows_clang_ninja + +.windows_clang_nmake: + extends: + - .windows_nmake + - .windows_vcvarsall_vs2022_x64 + + variables: + CMAKE_CONFIGURATION: windows_clang_nmake + .windows_msvc_v71_nmake: extends: .windows_nmake @@ -262,6 +286,20 @@ interruptible: true +.cmake_test_windows_clang: + stage: test-ext + + script: + - $pwdpath = $pwd.Path + - powershell -File ".gitlab/ci/ninja.ps1" + - Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab;$env:PATH" + - Invoke-Expression -Command .gitlab/ci/clang.ps1 + - Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1 + - Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\llvm\bin;$env:PATH" + - build/install/bin/ctest --output-on-failure -V -S .gitlab/ci/ctest_test_external.cmake + + interruptible: true + .cmake_test_windows_msvc: stage: test-ext |