summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJordan Petridis <jordan@centricular.com>2023-02-27 21:07:32 +0200
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2023-03-27 18:24:52 +0000
commit4b92baf36d126ed4ce1d88c48283b680815197cb (patch)
tree8056abd9d154b5a4bed18dc9b2d6f694ff65335a /.gitlab-ci.yml
parent7cc9ed55256ea112ffedcc395c0f05620bfbe8d3 (diff)
ci: Specify the path for the git clone
When cloning the gstreamer repo we were previously relynig on the repository name being "gstreamer", however its possible to rename your repository/fork in which case the CI would fail. Use a predictable name/path for the repo since we need to hardcode it into EXAMPLES_HOME variable as well. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1126>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f19e474c..170785fe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -288,7 +288,7 @@ build cerbero cross win64:
script:
# Clone gstreamer repository to get gst-examples and gst-docs
- rm -rf gstreamer
- - git clone $CI_GSTREAMER_URL -b $CI_GSTREAMER_REF_NAME --depth 1
+ - git clone $CI_GSTREAMER_URL -b $CI_GSTREAMER_REF_NAME --depth 1 gstreamer/
- mkdir -p ${EXAMPLES_HOME}/outputs
# extract our binaries
@@ -416,7 +416,7 @@ build cerbero cross-ios universal:
- installer -pkg gstreamer-1.0-devel-*-ios-universal.pkg -target CurrentUserHomeDirectory -verbose
# Clone gstreamer repository to get gst-examples and gst-docs
- - git clone $CI_GSTREAMER_URL -b $CI_GSTREAMER_REF_NAME --depth 1
+ - git clone $CI_GSTREAMER_URL -b $CI_GSTREAMER_REF_NAME --depth 1 gstreamer/
# dump some useful information
- xcodebuild -version