|
|
|
@ -30,13 +30,16 @@ install:
@@ -30,13 +30,16 @@ install:
|
|
|
|
|
- c:\msys64\usr\bin\bash -lc "echo 'Server = https://mirror.yandex.ru/mirrors/msys2/mingw/x86_64/' > /etc/pacman.d/mirrorlist.mingw64" |
|
|
|
|
- c:\msys64\usr\bin\bash -lc "echo 'Server = https://mirror.yandex.ru/mirrors/msys2/mingw/i686/' > /etc/pacman.d/mirrorlist.mingw32" |
|
|
|
|
- c:\msys64\usr\bin\bash -lc "echo 'Server = https://mirror.yandex.ru/mirrors/msys2/msys/$arch/' > /etc/pacman.d/mirrorlist.msys" |
|
|
|
|
- c:\msys64\usr\bin\bash -lc "cat /etc/pacman.d/mirrorlist.*" |
|
|
|
|
# remove packages which can break build |
|
|
|
|
- c:\msys64\usr\bin\bash -lc "pacman --noconfirm -Rns gcc-fortran gcc mingw-w64-{i686,x86_64}-gcc-ada mingw-w64-{i686,x86_64}-gcc-objc" |
|
|
|
|
# update runtime |
|
|
|
|
- c:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu" |
|
|
|
|
# Kill bash before next try |
|
|
|
|
- taskkill /T /F /IM bash.exe /IM gpg.exe /IM gpg-agent.exe | exit /B 0 |
|
|
|
|
# rewrite mirrorlist again because pacman update can rewrite it |
|
|
|
|
- c:\msys64\usr\bin\bash -lc "echo 'Server = https://mirror.yandex.ru/mirrors/msys2/mingw/x86_64/' > /etc/pacman.d/mirrorlist.mingw64" |
|
|
|
|
- c:\msys64\usr\bin\bash -lc "echo 'Server = https://mirror.yandex.ru/mirrors/msys2/mingw/i686/' > /etc/pacman.d/mirrorlist.mingw32" |
|
|
|
|
- c:\msys64\usr\bin\bash -lc "echo 'Server = https://mirror.yandex.ru/mirrors/msys2/msys/$arch/' > /etc/pacman.d/mirrorlist.msys" |
|
|
|
|
# update packages and install required |
|
|
|
|
- c:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu ${MSYS_PACKAGES}" |
|
|
|
|
|
|
|
|
|