diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-05-20 13:38:52 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-05-22 15:34:14 (GMT) |
commit | b566f0b30817270c89fc64bb11fade61bd08d0c0 (patch) | |
tree | 9da08ad1d24c7770e49b777c360f2caa38204d0e | |
parent | 5b564c371efefe3b86aea1a0d0575475e5b321c5 (diff) | |
download | CMake-b566f0b30817270c89fc64bb11fade61bd08d0c0.zip CMake-b566f0b30817270c89fc64bb11fade61bd08d0c0.tar.gz CMake-b566f0b30817270c89fc64bb11fade61bd08d0c0.tar.bz2 |
gitlab-ci: add windows builder
-rw-r--r-- | .gitlab-ci.yml | 26 | ||||
-rw-r--r-- | .gitlab/ci/configure_windows_vs2019_x64_ninja.cmake | 3 |
2 files changed, 29 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5fd1702..5795af8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,6 +99,14 @@ CMAKE_BUILD_TYPE: Release CTEST_NO_WARNINGS_ALLOWED: 1 +.windows_vs2019_x64_ninja: &windows_vs2019_x64_ninja + extends: .windows_ninja + + variables: + CMAKE_CONFIGURATION: windows_vs2019_x64_ninja + VCVARSALL: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Auxiliary\\Build\\vcvarsall.bat" + VCVARSPLATFORM: x64 + .linux_builder_tags: &linux_builder_tags tags: - build @@ -357,3 +365,21 @@ test:macos-makefiles: - build:macos-makefiles needs: - build:macos-makefiles + +build:windows-vs2019-x64-ninja: + <<: + - *windows_vs2019_x64_ninja + - *cmake_build_windows + - *cmake_build_artifacts + - *windows_builder_tags + when: manual + +test:windows-vs2019-x64-ninja: + <<: + - *windows_vs2019_x64_ninja + - *cmake_test_windows + - *windows_builder_tags + dependencies: + - build:windows-vs2019-x64-ninja + needs: + - build:windows-vs2019-x64-ninja diff --git a/.gitlab/ci/configure_windows_vs2019_x64_ninja.cmake b/.gitlab/ci/configure_windows_vs2019_x64_ninja.cmake new file mode 100644 index 0000000..e2f00dd --- /dev/null +++ b/.gitlab/ci/configure_windows_vs2019_x64_ninja.cmake @@ -0,0 +1,3 @@ +set(CMake_TEST_WIX_NO_VERIFY "ON" CACHE BOOL "") + +include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") |