diff options
author | Brad King <brad.king@kitware.com> | 2022-05-19 17:40:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-19 19:25:55 (GMT) |
commit | 4c7c66dcf542af7f9d4f0632cfebc499c58602b7 (patch) | |
tree | edf953c092f2b454779d5b12b64ad1e90068cac7 /.gitlab-ci.yml | |
parent | 729ee30c2eb627808f64199e3337fe7b0fcf8a74 (diff) | |
download | CMake-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-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7917803..44ea456 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,7 @@ stages: - build - test - test-ext + - package - upload ################################################################################ @@ -36,6 +37,7 @@ stages: # Job prefixes: # - `b:` build +# - `k:` package # - `l:` lint # - `p:` prep # - `t:` test @@ -983,3 +985,69 @@ t:windows-openwatcom1.9: - t:windows-vs2022-x64-ninja variables: CMAKE_CI_JOB_NIGHTLY: "true" + +b:windows-x86_64-package: + extends: + - .windows_x86_64_package + - .cmake_build_windows + - .cmake_build_package_artifacts + - .windows_tags_nonconcurrent_vs2022 + - .run_only_for_package + dependencies: + - p:doc-package + needs: + - p:doc-package + +k:windows-x86_64-package: + extends: + - .windows_x86_64_package + - .cmake_package_windows + - .cmake_release_artifacts + - .windows_tags_nonconcurrent_vs2022 + - .run_only_for_package + dependencies: + - b:windows-x86_64-package + needs: + - b:windows-x86_64-package + +u:windows-x86_64-package: + extends: + - .rsync_upload_package + - .run_only_for_package + dependencies: + - k:windows-x86_64-package + needs: + - k:windows-x86_64-package + +b:windows-i386-package: + extends: + - .windows_i386_package + - .cmake_build_windows + - .cmake_build_package_artifacts + - .windows_tags_nonconcurrent_vs2022 + - .run_only_for_package + dependencies: + - p:doc-package + needs: + - p:doc-package + +k:windows-i386-package: + extends: + - .windows_i386_package + - .cmake_package_windows + - .cmake_release_artifacts + - .windows_tags_nonconcurrent_vs2022 + - .run_only_for_package + dependencies: + - b:windows-i386-package + needs: + - b:windows-i386-package + +u:windows-i386-package: + extends: + - .rsync_upload_package + - .run_only_for_package + dependencies: + - k:windows-i386-package + needs: + - k:windows-i386-package |