diff options
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/appveyor.yml b/appveyor.yml index 1b272a5f96..8f89e0144a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,3 +1,5 @@ +image: Visual Studio 2019 + branches: only: - master @@ -15,18 +17,16 @@ shallow_clone: true test: off install: - # Support for Ada and Objective-C was removed from MSYS2. GCC won't update if - # these packages are installed. - - >- - C:\msys64\usr\bin\pacman -R --noconfirm --noprogressbar - mingw-w64-i686-gcc-ada mingw-w64-i686-gcc-objc mingw-w64-x86_64-gcc-ada - mingw-w64-x86_64-gcc-objc + # Disable checking disk space to speed up install time + - C:\msys64\usr\bin\sed -i 's/^CheckSpace/#CheckSpace/g' /etc/pacman.conf # Update core packages - C:\msys64\usr\bin\pacman -Syyuu --noconfirm --noprogressbar --ask=20 + # Explicitly kill any remaining msys2 processes after core update + - taskkill /f /fi "MODULES eq msys-2.0.dll" # Update non-core packages - C:\msys64\usr\bin\pacman -Suu --noconfirm --noprogressbar --ask=20 # Install required MSYS2 packages - - C:\msys64\usr\bin\pacman -S --noconfirm --noprogressbar --needed base-devel perl python pkg-config + - C:\msys64\usr\bin\pacman -S --noconfirm --noprogressbar --needed base-devel perl python pkgconf # Now MSYS2 is up to date, do the rest of the install from a bash script - C:\msys64\usr\bin\bash -lc "cd && exec \"$APPVEYOR_BUILD_FOLDER\"/TOOLS/appveyor-install.sh" build_script: |