
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.
144 lines
4.6 KiB
YAML
144 lines
4.6 KiB
YAML
# Lists of paths for artifacts of various stages.
|
|
|
|
.cmake_build_artifacts:
|
|
artifacts:
|
|
expire_in: 1d
|
|
paths:
|
|
# Test specifications.
|
|
- build/**/CTestTestfile.cmake
|
|
|
|
# Allow CMake to find CMAKE_ROOT.
|
|
- build/CMakeFiles/CMakeSourceDir.txt
|
|
|
|
# Take the install tree.
|
|
- build/install/
|
|
|
|
# We need the main binaries.
|
|
- build/bin/
|
|
# The cache is needed for the installation test.
|
|
- build/CMakeCache.txt
|
|
# Test binaries. Eventually these might be better under
|
|
# `Source/Tests` or the like.
|
|
- build/Tests/EnforceConfig.cmake
|
|
- build/Tests/CMakeBuildTest.cmake
|
|
- build/Tests/CMakeBuildDoubleProjectTest.cmake
|
|
- build/Tests/CMake*/runcompilecommands
|
|
- build/Tests/CMake*/runcompilecommands.exe
|
|
- build/Tests/CMake*/test*
|
|
- build/Tests/CMake*/PseudoMemcheck/valgrind
|
|
- build/Tests/CMake*/PseudoMemcheck/purify
|
|
- build/Tests/CMake*/PseudoMemcheck/memcheck_fail
|
|
- build/Tests/CMake*/PseudoMemcheck/BC
|
|
- build/Tests/CMake*/PseudoMemcheck/cuda-memcheck
|
|
- build/Tests/CMake*/PseudoMemcheck/valgrind.exe
|
|
- build/Tests/CMake*/PseudoMemcheck/purify.exe
|
|
- build/Tests/CMake*/PseudoMemcheck/memcheck_fail.exe
|
|
- build/Tests/CMake*/PseudoMemcheck/BC.exe
|
|
- build/Tests/CMake*/PseudoMemcheck/cuda-memcheck.exe
|
|
- build/Tests/CMake*/PseudoMemcheck/NoLog
|
|
- build/Tests/CMake*Lib/*LibTests
|
|
- build/Tests/CMake*Lib/*LibTests.exe
|
|
- build/Source/kwsys/cmsysTest*
|
|
- build/Source/kwsys/testConsoleBufChild.exe
|
|
- build/Utilities/cmcurl/curltest
|
|
- build/Utilities/cmcurl/curltest.exe
|
|
- build/Utilities/KWIML/test/kwiml_test
|
|
- build/Utilities/KWIML/test/kwiml_test.exe
|
|
- build/Source/kwsys/*cmsysTestDynload.*
|
|
- build/Source/kwsys/dynloaddir/cmsysTestDynloadImpl.dll
|
|
- build/Source/kwsys/dynloaddir/cmsysTestDynloadUse.dll
|
|
|
|
# Test directories.
|
|
- build/Tests/CTest*
|
|
- build/Tests/Find*
|
|
- build/Tests/Qt*
|
|
- build/Tests/RunCMake/
|
|
- build/Tests/CMakeOnly/
|
|
- build/Tests/CMakeTests/
|
|
- build/Tests/CMakeGUI/
|
|
- build/Tests/FortranC/
|
|
|
|
# CTest/CDash information.
|
|
- build/Testing/
|
|
- 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
|
|
# Release artifacts are of interest even for failed jobs.
|
|
when: always
|
|
paths:
|
|
# Any packages made.
|
|
- 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
|
|
|
|
.cmake_junit_artifacts:
|
|
artifacts:
|
|
expire_in: 1d
|
|
when: always
|
|
reports:
|
|
junit:
|
|
- build/junit.xml
|
|
|
|
.cmake_test_artifacts:
|
|
artifacts:
|
|
expire_in: 1d
|
|
# External testing can be useful even if test jobs fail.
|
|
when: always
|
|
reports:
|
|
junit:
|
|
- build/junit.xml
|
|
paths:
|
|
# Take the install tree.
|
|
- build/install/
|
|
|
|
.cmake_doc_artifacts:
|
|
artifacts:
|
|
expire_in: 1d
|
|
paths:
|
|
# Take the install tree.
|
|
- build/install-doc/
|
|
|
|
.cmake_org_help_artifacts:
|
|
artifacts:
|
|
expire_in: 1d
|
|
paths:
|
|
- build/html
|
|
exclude:
|
|
- build/html/.buildinfo
|