summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMSP-Greg <MSP-Greg@users.noreply.github.com>2019-09-06 19:14:15 -0500
committerTakashi Kokubun <takashikkbn@gmail.com>2019-09-07 10:48:40 +0900
commit4068be1d9f60d8a9ac063c4871986dc26bdd0d56 (patch)
treee17a95fa78e2f96d03b23ee294212281051f3e39
parent3bb3fa4051c754af1a26f023a902d1ce67fe964e (diff)
appveyor.yml - msys2 update code
As AppVeyor's MSYS2 install gets out of date, this may require 'special' code... This code also adds updating the database, which currently updates gcc from 9.1.0 to 9.2.0.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2433
-rw-r--r--appveyor.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 3d3a53afcf..28ca917e8e 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -98,8 +98,8 @@ for:
- SET PATH=%ruby_path%\bin;C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH%
- ruby --version
build_script:
- - pacman -S --noconfirm --needed --noprogressbar --nodeps mingw-w64-x86_64-toolchain
- - pacman -S --noconfirm --needed --noprogressbar mingw-w64-x86_64-gdbm mingw-w64-x86_64-gettext mingw-w64-x86_64-gmp mingw-w64-x86_64-libffi mingw-w64-x86_64-libyaml mingw-w64-x86_64-openssl mingw-w64-x86_64-ragel mingw-w64-x86_64-readline mingw-w64-x86_64-zlib
+ - pacman -Sy --noconfirm --noprogressbar --needed mingw-w64-x86_64-toolchain
+ - pacman -S --noconfirm --noprogressbar --needed mingw-w64-x86_64-gdbm mingw-w64-x86_64-gmp mingw-w64-x86_64-libffi mingw-w64-x86_64-libyaml mingw-w64-x86_64-openssl mingw-w64-x86_64-ragel mingw-w64-x86_64-readline mingw-w64-x86_64-zlib
- cd %APPVEYOR_BUILD_FOLDER%
- set CFLAGS=-march=%MSYS2_ARCH:_=-% -mtune=generic -O3 -pipe
- set CXXFLAGS=%CFLAGS%