summaryrefslogtreecommitdiff
path: root/.gitlab/artifacts.yml
blob: 6c4cc0df7551cd9d094cd77033a73cac7061b198 (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
# 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
            # Any unsigned packages made.
            - build/unsigned/cmake-*

.cmake_junit_artifacts:
    artifacts:
        expire_in: 1d
        when: always
        reports:
            junit:
                - build/junit.xml

.cmake_sphinx_artifacts:
    artifacts:
        expire_in: 1d
        when: always
        paths:
            # Take the sphinx logs.
            - build/build-*.log
            - build/linkcheck/output.*

.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