diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2023-09-21 18:07:38 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2023-09-22 13:30:52 (GMT) |
commit | 25d7843955381e79705457b8ff030acc2625d4e1 (patch) | |
tree | 9e82952e9327d8e2b0f300b36e26a638e376a812 /.gitlab-ci.yml | |
parent | a7534c31e6f9309ec2a2418d8b6c167bf1be150d (diff) | |
download | CMake-25d7843955381e79705457b8ff030acc2625d4e1.zip CMake-25d7843955381e79705457b8ff030acc2625d4e1.tar.gz CMake-25d7843955381e79705457b8ff030acc2625d4e1.tar.bz2 |
ci: Factor out build directory for finding artifacts
Some jobs will run in a build directory other than
$CI_PROJECT_DIR/build, and will produce artifacts in a different
directory. Add a variable specifying where to find the artifacts, and
set it to build/ by default.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a214b06..eb1be76 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,10 @@ stages: - test-ext - upload +variables: + # Some jobs that place their artifacts in a different directory will override this. + CMAKE_CI_BUILD_DIR: build + ################################################################################ # Job declarations # |