
In commit 4c7c66dcf5
(gitlab-ci: Add jobs to make Windows x86_64 and
i386 packages, 2022-05-19, v3.24.0-rc1~112^2) we used a separate Windows
packaging job in nightly packaging pipelines. It did not run in release
pipelines, where we need to run the final packaging step manually with
signing. Simplify nightly packaging pipelines by running `cpack` at the
end of the build job as we do for other platforms.
For release packaging pipelines, create an archive of the files needed
to build a package, and present this as the built "package" on Windows.
118 lines
3.9 KiB
YAML
118 lines
3.9 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_release_artifacts:
|
|
artifacts:
|
|
expire_in: 5d
|
|
name: "$CMAKE_CI_ARTIFACTS_NAME"
|
|
# 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.*
|
|
- build/cmake-*-windows-arm64.*
|
|
# 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
|