From ed02a3991ef6caa2589272d6b49d3c2a1e25fd54 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Tue, 9 Jan 2024 22:58:50 +0200 Subject: [PATCH] ci: Avoid g-ir-scanner spurious issue Recently something has caused it to error out, but only sometimes. Ignore the cache so the CI will be reliable again. Close #3197 Part-of: --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5651eab36b..211c78f83e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -299,6 +299,9 @@ commitlint: GST_WERROR: "true" MESON_ARGS: "${DEFAULT_MESON_ARGS}" SUBPROJECTS_CACHE_DIR: "/subprojects" + # Avoid weird issue about cross-device links + # https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3197 + GI_SCANNER_DISABLE_CACHE: "1" script: - $CI_PROJECT_DIR/ci/scripts/build.sh - ./gst-env.py gst-inspect-1.0 --version @@ -574,6 +577,10 @@ build macos: MESON_ARGS: "${SIMPLE_BUILD}" SUBPROJECTS_CACHE_DIR: "/subprojects" + # Avoid weird issue about cross-device links + # https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3197 + GI_SCANNER_DISABLE_CACHE: "1" + # Disable colored output to avoid weird rendering issues GST_DEBUG_NO_COLOR: "true" CI_ARTIFACTS_URL: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/validate-logs/"