ci: Add ci/install.bat

Move the MinGW package installation commands from ci/build.sh into
ci/install.sh.
This commit is contained in:
Bart Van Assche
2022-11-08 16:29:12 -08:00
parent 505b2a0ab4
commit 3fe06e8563
4 changed files with 14 additions and 10 deletions

View File

@@ -14,4 +14,15 @@ case "$(uname)" in
;;
Darwin)
;;
MSYS*|MINGW*)
pacman --noconfirm --remove mingw-w64-x86_64-gcc-ada
pacman --noconfirm --remove mingw-w64-x86_64-gcc-fortran
pacman --noconfirm --remove mingw-w64-x86_64-gcc-libgfortran
pacman --noconfirm --remove mingw-w64-x86_64-gcc-objc
pacman --noconfirm --sync --refresh
pacman --noconfirm --sync --needed diffutils
pacman --noconfirm --sync --needed make
pacman --noconfirm --sync --needed mingw-w64-x86_64-gcc
pacman --noconfirm --sync --needed mingw-w64-x86_64-cunit
;;
esac