ci: Fix subprojects cache dir usage on macOS jobs

The location is on `/subprojects` on macOS. In all cases, the actual
location is specified in `.gitlab-ci.yml`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7238>
This commit is contained in:
Nirbheek Chauhan 2024-07-25 16:09:08 +05:30 committed by Backport Bot
parent 77b250bcca
commit 22ef441dd9

View file

@ -21,7 +21,7 @@ _jobs=$(nproc || sysctl -n hw.ncpu)
jobs="${FDO_CI_CONCURRENT:-$_jobs}"
date -R
ci/scripts/handle-subprojects-cache.py --cache-dir /subprojects subprojects/
ci/scripts/handle-subprojects-cache.py --cache-dir "${SUBPROJECTS_CACHE_DIR}" subprojects/
ARGS="${BUILD_TYPE:---default-library=both} ${BUILD_GST_DEBUG:--Dgstreamer:gst_debug=true} ${MESON_ARGS}"
echo "Werror: $GST_WERROR"