From: Dan Fandrich Date: Mon, 3 Sep 2018 00:49:19 +0000 (+0200) Subject: Add a .appveyor.yml file to enable AppVeyor CI integration. X-Git-Tag: libexif-0_6_22-release~91 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibexif.git;a=commitdiff_plain;h=44089eb017938c8c1dbeb36caf13fe8fee681d23 Add a .appveyor.yml file to enable AppVeyor CI integration. Only Cygwin environments are tested for now. Results are available at https://ci.appveyor.com/project/dfandrich/libexif --- diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..52fa91b --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,20 @@ +# AppVeyor CI configuration file https://www.appveyor.com +environment: + CYGWIN_MIRROR: http://cygwin.mirror.constant.com + matrix: + - CONFIG: cygwin + - CONFIG: cygwin64 + +install: +- cmd: if [%CONFIG%]==[cygwin] ( + C:\cygwin\setup-x86.exe -qgnNdO -l C:\cygwin\var\cache\setup -R c:\cygwin -s "%CYGWIN_MIRROR%" -P libiconv-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 libiconv-devel ) + +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 LDFLAGS='-lintl' && make install" + +test_script: +- cmd: C:\%CONFIG%\bin\bash -e -l -c "cd $APPVEYOR_BUILD_FOLDER && make check" +