diff options
author | Brad King <brad.king@kitware.com> | 2023-06-22 17:47:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-06-22 17:48:56 (GMT) |
commit | 44f08e94ff0e3b075c3b6877f090ae2c01dd1ddf (patch) | |
tree | de57faafe973ab2cc48c9f18332c47f65079089e | |
parent | e0eb97e92328da570f5bd92d0ffd732701dc7646 (diff) | |
download | CMake-44f08e94ff0e3b075c3b6877f090ae2c01dd1ddf.zip CMake-44f08e94ff0e3b075c3b6877f090ae2c01dd1ddf.tar.gz CMake-44f08e94ff0e3b075c3b6877f090ae2c01dd1ddf.tar.bz2 |
ci: Add nightly job to build CMake with PCH on Windows
-rw-r--r-- | .gitlab-ci.yml | 9 | ||||
-rw-r--r-- | .gitlab/ci/configure_windows_vs2022_x64_pch.cmake | 2 | ||||
-rw-r--r-- | .gitlab/os-windows.yml | 7 |
3 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 297afda..393e960 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -998,6 +998,15 @@ b:windows-vs2022-x64-ninja: - .windows_x86_64_tags_nonconcurrent_vs2022 - .run_manually +b:windows-vs2022-x64-pch: + extends: + - .windows_vs2022_x64_pch + - .cmake_build_windows + - .windows_x86_64_tags_nonconcurrent_vs2022 + - .run_manually + variables: + CMAKE_CI_JOB_NIGHTLY: "true" + t:windows-vs2022-x64-ninja: extends: - .windows_vs2022_x64_ninja diff --git a/.gitlab/ci/configure_windows_vs2022_x64_pch.cmake b/.gitlab/ci/configure_windows_vs2022_x64_pch.cmake new file mode 100644 index 0000000..2a2eed7 --- /dev/null +++ b/.gitlab/ci/configure_windows_vs2022_x64_pch.cmake @@ -0,0 +1,2 @@ +set(CMake_BUILD_PCH "ON" CACHE BOOL "") +include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_common.cmake") diff --git a/.gitlab/os-windows.yml b/.gitlab/os-windows.yml index 026f2f4..422e147 100644 --- a/.gitlab/os-windows.yml +++ b/.gitlab/os-windows.yml @@ -55,6 +55,13 @@ VCVARSPLATFORM: "arm64" VCVARSVERSION: "14.36.32532" +.windows_vs2022_x64_pch: + extends: + - .windows_vs2022_x64_ninja + + variables: + CMAKE_CONFIGURATION: windows_vs2022_x64_pch + .windows_vs2022_x64_ninja: extends: - .windows_build_ninja |