gitlab-ci: Simplify collection of CTestTestfile artifacts

gitlab-runner 13.0 and above support `**` to match arbitrary
directory paths.
This commit is contained in:
Brad King
2022-05-19 12:58:05 -04:00
parent 1eab922d92
commit 729ee30c2e

View File

@@ -4,13 +4,8 @@
artifacts:
expire_in: 1d
paths:
# XXX(globbing): Can be simplified with support from
# https://gitlab.com/gitlab-org/gitlab-runner/issues/4840
- build/CTestTestfile.cmake
- build/*/CTestTestfile.cmake
- build/*/*/CTestTestfile.cmake
- build/*/*/*/CTestTestfile.cmake
- build/*/*/*/*/CTestTestfile.cmake
# Test specifications.
- build/**/CTestTestfile.cmake
# Allow CMake to find CMAKE_ROOT.
- build/CMakeFiles/CMakeSourceDir.txt