summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2021-07-29 22:41:06 +1000
committerMatthew Waters <matthew@centricular.com>2021-07-29 23:51:04 +1000
commitab5c501b871b73b6d81728ea8e8b833d087b9619 (patch)
tree72d1f12a648560206d3419379ae198d65e51246b
parentb65eb14636ada0b340e89fadc3261be1fff078a3 (diff)
gitlab: fix incorrect build-tools path being used on macOS
The relevant CI log dyld: Library not loaded: /Users/gst-ci/builds/gstreamer/cerbero/cerbero-build/dist/darwin_universal/x86_64/lib/liborc-0.4.0.dylib Referenced from: /Users/gst-ci/builds/xhaakon/gstreamer-sharp/cerbero-build/dist/darwin_universal/x86_64/bin/orcc Reason: image not found Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/410>
-rw-r--r--gitlab/ci_template.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/gitlab/ci_template.yml b/gitlab/ci_template.yml
index d70530f..5578108 100644
--- a/gitlab/ci_template.yml
+++ b/gitlab/ci_template.yml
@@ -1146,6 +1146,16 @@ build cerbero cross-macos universal:
extends:
- '.cerbero'
- '.cerbero cross-macos universal'
+ script:
+ # We have build-tools that have fixed paths pointing to the upstream
+ # repository. We need to point
+ - pwd
+ - mkdir -p "../../gstreamer"
+ - ln -sf "$(pwd)" "../../gstreamer/cerbero"
+ - mkdir -p "../../${CI_PROJECT_NAMESPACE}"
+ - ln -sf "$(pwd)" "../../${CI_PROJECT_NAMESPACE}/cerbero"
+
+ - ./cerbero_setup.sh cerbero_deps_script
rules:
- if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-build|gst-docs|gst-omx|gst-sharp|gstreamer-vaapi|gst-integration-testsuites|gst-plugins-rs)$/'