# AppVeyor CI configuration file https://www.appveyor.com environment: CYGWIN_MIRROR: http://cygwin.mirror.constant.com matrix: - CONFIG: cygwin - CONFIG: cygwin64 install: # FIXME: This uses the packaged libexif-devel which is not ideal. It should # be downloading and building the latest libexif code from Github instead. - cmd: if [%CONFIG%]==[cygwin] ( C:\cygwin\setup-x86.exe -qgnNdO -l C:\cygwin\var\cache\setup -R c:\cygwin -s "%CYGWIN_MIRROR%" -P libpopt-devel -P libexif-devel ) - cmd: if [%CONFIG%]==[cygwin64] ( C:\cygwin64\setup-x86_64.exe -qgnNdO -l C:\cygwin64\var\cache\setup -R c:\cygwin64 -s "%CYGWIN_MIRROR%" -P libpopt-devel -P libexif-devel ) # Work around a libpopt-devel-1.16-2 packaging issue that causes the error: # libtool: error: cannot find the library '/usr/lib/libintl.la' or unhandled argument '/usr/lib/libintl.la' # See http://www.cygwin.com/ml/cygwin-apps/2017-07/msg00005.html - cmd: if [%CONFIG%]==[cygwin] ( C:\%CONFIG%\bin\bash -e -l -c "rm /usr/lib/libpopt.la" ) build_script: - cmd: SET PATH=c:/%CONFIG%/bin - cmd: C:\%CONFIG%\bin\bash -e -l -c "cd $APPVEYOR_BUILD_FOLDER && autoreconf -sif && ./configure --prefix=$HOME && make V=1 && make V=1 install" test_script: - cmd: C:\%CONFIG%\bin\bash -e -l -c "cd $APPVEYOR_BUILD_FOLDER && make V=1 check || { tail -300 test*/test-suite.log; false; }"