diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-03-10 10:58:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-10 10:58:17 +0100 |
| commit | 44c8a6acc6f239f9bc4551ea41b6ca6d63f83f77 (patch) | |
| tree | 680d33bae9fd92bc6f86f433346569480e9b56ca /src/ci/scripts | |
| parent | f6d47dd1f1794e358ff4c6b121d1a82315d94321 (diff) | |
| parent | c7a48a507ad10617869ed1fbd3f510fd5ad93584 (diff) | |
| download | rust-44c8a6acc6f239f9bc4551ea41b6ca6d63f83f77.tar.gz rust-44c8a6acc6f239f9bc4551ea41b6ca6d63f83f77.zip | |
Rollup merge of #122125 - majaha:mingw_ci_new, r=Mark-Simulacrum
Revert back to Git-for-Windows for MinGW CI builds Following discussion in https://github.com/rust-lang/rust/pull/121182 it was decided to revert using MSYS2 Git for mingw builds.
Diffstat (limited to 'src/ci/scripts')
| -rwxr-xr-x | src/ci/scripts/install-msys2.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/ci/scripts/install-msys2.sh b/src/ci/scripts/install-msys2.sh index 905edf38a09..e3f76744cbe 100755 --- a/src/ci/scripts/install-msys2.sh +++ b/src/ci/scripts/install-msys2.sh @@ -31,12 +31,14 @@ if isWindows; then # Delete these pre-installed tools so we can't accidentally use them, because we are using the # MSYS2 setup action versions instead. # Delete pre-installed version of MSYS2 + echo "Cleaning up tools in PATH" rm -r "/c/msys64/" # Delete Strawberry Perl, which contains a version of mingw rm -r "/c/Strawberry/" # Delete these other copies of mingw, I don't even know where they come from. rm -r "/c/mingw64/" rm -r "/c/mingw32/" + echo "Finished cleaning up tools in PATH" if isKnownToBeMingwBuild; then # Use the mingw version of CMake for mingw builds. @@ -46,11 +48,11 @@ if isWindows; then # Install mingw-w64-$arch-cmake pacboy -S --noconfirm cmake:p - # We use Git-for-Windows for MSVC builds, and MSYS2 Git for mingw builds, - # so that both are tested. - # Delete Windows-Git - rm -r "/c/Program Files/Git/" - # Install MSYS2 git - pacman -S --noconfirm git + # It would be nice to use MSYS's git in MinGW builds so that it's tested and known to + # work. But it makes everything extremely slow, so it's commented out for now. + # # Delete Windows-Git + # rm -r "/c/Program Files/Git/" + # # Install MSYS2 git + # pacman -S --noconfirm git fi fi |
