diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2024-05-20 17:44:11 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2024-05-20 17:46:07 +0530 |
commit | f4d5f057994eb366723cf303001a9ae8d11d4f8e (patch) | |
tree | aabe9aa0c39c07da482249449a33b83b6fa2562a | |
parent | 5ca7c65564a035072b3bf8ac47cf80c0ad7ff7df (diff) |
ci: Truncate cerbero builddir to "cb" to address long path issues
There really is no fix, apparently, other than keeping the path short.
Too many things break if your paths become longer than 260 characters.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1464>
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rwxr-xr-x | ci/cerbero_setup.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6595c726..970f7543 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -176,7 +176,7 @@ android fedora image: # shared across everything really CCACHE_MAXSIZE: "50G" - CERBERO_HOME: "cerbero-build" + CERBERO_HOME: "cb" CERBERO_SOURCES: "cerbero-sources" CERBERO_ARGS: "${DEFAULT_CERBERO_ARGS}" CERBERO: "./cerbero-uninstalled -c config/${CONFIG} -c localconf.cbc" diff --git a/ci/cerbero_setup.sh b/ci/cerbero_setup.sh index 7c558ef8..509e1bd6 100755 --- a/ci/cerbero_setup.sh +++ b/ci/cerbero_setup.sh @@ -67,7 +67,7 @@ cerbero_before_script() { echo "home_dir = \"$(pwd_native)/${CERBERO_HOME}\"" > localconf.cbc echo "local_sources = \"$(pwd_native)/${CERBERO_SOURCES}\"" >> localconf.cbc - echo "mingw_perl_prefix = \"${CERBERO_HOST_DIR}/cerbero-build/mingw/perl\"" >> localconf.cbc + echo "mingw_perl_prefix = \"${CERBERO_HOST_DIR}/${CERBERO_HOME}/mingw/perl\"" >> localconf.cbc if [[ $CONFIG == win??.cbc ]] || [[ $CONFIG =~ uwp ]] ; then # Visual Studio 2022 build tools install path echo 'vs_install_path = "C:/BuildTools"' >> localconf.cbc |