summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-19 12:58:05 -0400
committerBrad King <brad.king@kitware.com>2022-05-19 15:25:55 -0400
commit729ee30c2eb627808f64199e3337fe7b0fcf8a74 (patch)
treedeb42fdc231a594959df6ff0e34af6cdc3003b03
parent1eab922d9229c71fa903eda361e85205732025cf (diff)
downloadcmake-729ee30c2eb627808f64199e3337fe7b0fcf8a74.tar.gz
gitlab-ci: Simplify collection of CTestTestfile artifacts
gitlab-runner 13.0 and above support `**` to match arbitrary directory paths.
-rw-r--r--.gitlab/artifacts.yml9
1 files changed, 2 insertions, 7 deletions
diff --git a/.gitlab/artifacts.yml b/.gitlab/artifacts.yml
index 5472c0ace9..c3f4418af2 100644
--- a/.gitlab/artifacts.yml
+++ b/.gitlab/artifacts.yml
@@ -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