ci/windows: Remove cargo-vendor sources from the cerbero source cache
authorNirbheek Chauhan <nirbheek@centricular.com>
Thu, 29 Sep 2022 14:00:05 +0000 (19:30 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 27 Jan 2023 04:12:40 +0000 (04:12 +0000)
commit71b8dc4c2878d1cb35471ded10bbd9fcb07150c4
treee6d1f3d4b511f62184666cc2c7d9df1aa2b54620
parente62800f20c1e11a3c172c1963d9e4bede5e2a117
ci/windows: Remove cargo-vendor sources from the cerbero source cache

Copying the source cache to a running Cerbero CI job on Windows causes
strange / corrupted errors that talk about hard links like:

++ cp -a C:/cerbero/cerbero-sources .
cp: will not create hard link `./cerbero-sources/gstreamer-1.0/subprojects/gst-plugins-good/sys/osxaudio' to directory `./cerbero-sources/cargo-c-0.9.12/cargo-vendor/adler/benches'
[...]

So, delete it. The vendored sources are cached by cargo in its own
cache inside CARGO_HOME, which is build/rust/cargo/ and is preserved
in the image. We won't need to redownload any of this.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3821>
ci/docker/windows/prepare_cerbero_env.sh