# Lists of paths for artifacts of various stages.

.cmake_build_artifacts:
    artifacts:
        expire_in: 1d
        paths:
            # The artifacts of the build.
            - build/bin/
            - build/cmake/
            - build/include/
            - build/lib/
            - build/smtkConfig.cmake
            - build/smtkConfigVersion.cmake
            # Generated headers.
            - build/smtk/**/*.h

            # CTest files.
            - build/PluginTests/
            - build/smtk/extension/paraview/*/testing/python/*.py
            - build/CTestCustom*.cmake
            - build/CTestTestfile.cmake
            - build/**/CTestTestfile.cmake
            - build/Testing/

            # CTest coverage files.
            - build/CMakeFiles/TargetDirectories.txt
            - build/**/*.gcno
            - build/smtk/**/*.cxx
            - build/smtk/**/*.cpp
            - build/smtk/**/*.h

            # CDash files.
            - build/DartConfiguration.tcl

.cmake_test_artifacts:
    artifacts:
        expire_in: 1d
        reports:
            junit:
                - build/junit.xml

.cmake_coverage_artifacts:
    artifacts:
        expire_in: 1d
        reports:
            junit:
                - build/junit.xml
        paths:
            # Generated headers.
            - build/smtk/**/*.h

            # CTest files.
            - build/CTestCustom*.cmake
            - build/Testing/

            # CTest coverage files.
            - build/CMakeFiles/TargetDirectories.txt
            - build/**/*.gcno
            - build/**/*.gcda
            - build/smtk/**/*.cxx
            - build/smtk/**/*.cpp
            - build/smtk/**/*.h

            # CDash files.
            - build/DartConfiguration.tcl
