From 44089eb017938c8c1dbeb36caf13fe8fee681d23 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 3 Sep 2018 02:49:19 +0200 Subject: [PATCH] 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 --- .appveyor.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .appveyor.yml 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" + -- 2.7.4