2021-02-22 13:31:24 +00:00
|
|
|
image: Visual Studio 2019
|
|
|
|
|
2016-05-12 12:00:30 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- appveyor
|
2018-02-12 02:13:12 +00:00
|
|
|
- ci
|
2016-05-12 12:00:30 +00:00
|
|
|
|
|
|
|
environment:
|
2017-07-28 13:26:27 +00:00
|
|
|
global:
|
|
|
|
PATH: C:\msys64\usr\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
|
2016-05-12 12:00:30 +00:00
|
|
|
matrix:
|
|
|
|
- MSYSTEM: MINGW64
|
|
|
|
- MSYSTEM: MINGW32
|
|
|
|
|
|
|
|
shallow_clone: true
|
|
|
|
test: off
|
|
|
|
|
|
|
|
install:
|
2021-02-22 13:31:24 +00:00
|
|
|
# Disable checking disk space to speed up install time
|
|
|
|
- C:\msys64\usr\bin\sed -i 's/^CheckSpace/#CheckSpace/g' /etc/pacman.conf
|
2016-05-12 12:00:30 +00:00
|
|
|
# Update core packages
|
2018-02-11 14:10:28 +00:00
|
|
|
- C:\msys64\usr\bin\pacman -Syyuu --noconfirm --noprogressbar --ask=20
|
2020-10-15 21:59:07 +00:00
|
|
|
# Explicitly kill any remaining msys2 processes after core update
|
|
|
|
- taskkill /f /fi "MODULES eq msys-2.0.dll"
|
2016-05-12 12:00:30 +00:00
|
|
|
# Update non-core packages
|
2018-02-11 14:10:28 +00:00
|
|
|
- C:\msys64\usr\bin\pacman -Suu --noconfirm --noprogressbar --ask=20
|
2016-05-12 12:00:30 +00:00
|
|
|
# Install required MSYS2 packages
|
2018-02-11 14:10:28 +00:00
|
|
|
- C:\msys64\usr\bin\pacman -S --noconfirm --noprogressbar --needed base-devel perl python pkg-config
|
2016-05-12 12:00:30 +00:00
|
|
|
# Now MSYS2 is up to date, do the rest of the install from a bash script
|
2017-11-07 11:02:03 +00:00
|
|
|
- C:\msys64\usr\bin\bash -lc "cd && exec \"$APPVEYOR_BUILD_FOLDER\"/TOOLS/appveyor-install.sh"
|
2016-05-12 12:00:30 +00:00
|
|
|
build_script:
|
|
|
|
- C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\" && exec ./TOOLS/appveyor-build.sh"
|
|
|
|
on_failure:
|
|
|
|
- type "%APPVEYOR_BUILD_FOLDER%\build\config.log"
|
|
|
|
|
|
|
|
cache:
|
|
|
|
- C:\msys64\var\cache\pacman\pkg
|