summaryrefslogtreecommitdiffstats
path: root/.gitlab/artifacts.yml
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-19 17:40:22 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-19 19:25:55 (GMT)
commit4c7c66dcf542af7f9d4f0632cfebc499c58602b7 (patch)
treeedf953c092f2b454779d5b12b64ad1e90068cac7 /.gitlab/artifacts.yml
parent729ee30c2eb627808f64199e3337fe7b0fcf8a74 (diff)
downloadCMake-4c7c66dcf542af7f9d4f0632cfebc499c58602b7.zip
CMake-4c7c66dcf542af7f9d4f0632cfebc499c58602b7.tar.gz
CMake-4c7c66dcf542af7f9d4f0632cfebc499c58602b7.tar.bz2
gitlab-ci: Add jobs to make Windows x86_64 and i386 packages
Run CPack in a separate job for nightly binaries, and not at all for release binaries. Unlike macOS disk images (.dmg), we cannot sign the binaries inside Windows installers (.msi) after-the-fact. Instead, produce enough artifacts from the build job to sign and package release binaries manually. Port build settings from `Utilities/Release/win/x86/Dockerfile` and its helper scripts.
Diffstat (limited to '.gitlab/artifacts.yml')
-rw-r--r--.gitlab/artifacts.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.gitlab/artifacts.yml b/.gitlab/artifacts.yml
index c3f4418..57ae573 100644
--- a/.gitlab/artifacts.yml
+++ b/.gitlab/artifacts.yml
@@ -63,6 +63,34 @@
- build/DartConfiguation.tcl
- build/CTestCustom.cmake
+.cmake_build_package_artifacts:
+ artifacts:
+ expire_in: 1d
+ paths:
+ # Allow CPack to find CMAKE_ROOT.
+ - build/CMakeFiles/CMakeSourceDir.txt
+
+ # Install rules.
+ - build/**/cmake_install.cmake
+
+ # We need the main binaries.
+ - build/bin/
+
+ # Pass through the documentation.
+ - build/install-doc/
+
+ # CPack configuration.
+ - build/CPackConfig.cmake
+ - build/CMakeCPackOptions.cmake
+ - build/Source/QtDialog/QtDialogCPack.cmake
+
+ # CPack/IFW packaging files.
+ - build/CMake*.qs
+
+ # CPack/WIX packaging files.
+ - build/Utilities/Release/WiX/custom_action_dll*.wxs
+ - build/Utilities/Release/WiX/CustomAction/CMakeWiXCustomActions.*
+
.cmake_release_artifacts:
artifacts:
expire_in: 5d
@@ -73,6 +101,8 @@
- build/cmake-*-linux-x86_64.*
- build/cmake-*-linux-aarch64.*
- build/cmake-*-macos*-universal.*
+ - build/cmake-*-windows-x86_64.*
+ - build/cmake-*-windows-i386.*
# Any source packages made.
- build/cmake-*.tar.gz
- build/cmake-*.zip