summaryrefslogtreecommitdiff
path: root/.gitlab/artifacts.yml
blob: 1b5384f2d88b257c3d1ae1cbdf4cb10b3269c223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# 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
        name: "$CMAKE_CI_ARTIFACTS_NAME"
        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
        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