ci: Set CARGO_NET_GIT_FETCH_WITH_CLI

Recent infrastructure migration are causing issues
with the cargo fetch for our gitlab instance.

Use git itself to do the fetching

Similar to [1]

[1]: https://gitlab.freedesktop.org/gstreamer/gst-ci/-/issues/71

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8801>
This commit is contained in:
Jordan Petridis 2025-04-09 17:25:34 +03:00
parent a2793a4663
commit 741d1e5039

View File

@ -72,6 +72,13 @@ variables:
-Dgstreamer-sharp:werror=false
-Ddoc=disabled
# Our gitlab instance and runner are using a proxy and have
# trouble with the normal fetch. git itself handles the proxy
# more reliably.
#
# https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli
CARGO_NET_GIT_FETCH_WITH_CLI: true
FF_TIMESTAMPS: true
# Can set this as part of a schedule pipeline to test the gtk4 build if desired