1# AppVeyor CI configuration file https://www.appveyor.com 2environment: 3 CYGWIN_MIRROR: http://cygwin.mirror.constant.com 4 matrix: 5 - CONFIG: cygwin 6 - CONFIG: cygwin64 7 - CONFIG: msys2 8 9install: 10- cmd: if [%CONFIG%]==[cygwin] ( 11 C:\cygwin\setup-x86.exe -qgnNdO -l C:\cygwin\var\cache\setup -R c:\cygwin -s "%CYGWIN_MIRROR%" -P libiconv-devel ) 12- cmd: if [%CONFIG%]==[cygwin64] ( 13 C:\cygwin64\setup-x86_64.exe -qgnNdO -l C:\cygwin64\var\cache\setup -R c:\cygwin64 -s "%CYGWIN_MIRROR%" -P libiconv-devel ) 14- cmd: if [%CONFIG%]==[msys2] ( 15 set "PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%" ) 16 17build_script: 18- cmd: if not [%CONFIG%]==[msys2] ( 19 C:\%CONFIG%\bin\bash -e -l -c "cd $APPVEYOR_BUILD_FOLDER && autoreconf -sif && ./configure --prefix=$HOME --disable-dependency-tracking && make V=1 LDFLAGS='-lintl' && make V=1 install" ) 20- cmd: if [%CONFIG%]==[msys2] ( 21 bash -lc "set -x; cd $APPVEYOR_BUILD_FOLDER && autoreconf -sivf && ./configure --prefix=$HOME/install --disable-dependency-tracking && make V=1 && make V=1 install" ) 22 23test_script: 24- cmd: if not [%CONFIG%]==[msys2] ( 25 C:\%CONFIG%\bin\bash -e -l -c "cd $APPVEYOR_BUILD_FOLDER && make V=1 check" ) 26- cmd: if [%CONFIG%]==[msys2] ( 27 bash -lc "cd $APPVEYOR_BUILD_FOLDER && make V=1 check" ) 28