ci: Force git-fetch-with-cli on windows as well

We already do this on linux, do this on windows as well

We need this as git has better handling of redirects, and
we are running into issues after gitlab.freedesktop.org
switched to using a cdn proxy.

Similar to the original issue [1]

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

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1710>
This commit is contained in:
Jordan Petridis 2025-04-09 09:07:06 +03:00 committed by Backport Bot
parent 24439d73aa
commit efcc86e0ff

View file

@ -598,6 +598,11 @@ windows rust docker msrv:
- 'junit_reports'
reports:
junit: "junit_reports/**/*.xml"
before_script:
- New-Item -Force -Path ".cargo" -ItemType "directory"
- $git_config="[net]`ngit-fetch-with-cli = true`n"
- $git_config | out-file -encoding utf8 .cargo/config.toml
- Get-Content -Path .cargo/config.toml
script:
# Skip -sys tests as they don't work
# https://github.com/gtk-rs/gtk3-rs/issues/54