From a42b524731557e3204c31247f0a7be671057d9ef Mon Sep 17 00:00:00 2001 From: hacker2490 Date: Thu, 3 Mar 2016 17:01:37 +0530 Subject: AppVeyor: add cygwin and minGW support - Changes in platform configuration, x86 breaks the build - Solution file does not contain platform for Any CPU, fixing it to Win32 - Added Multiple solutions to appveyor configuration file - Added batch script for VS2010 builds - Added fixes to appveyor.bat file and appveyor.yml - Fixes for Platform and Configuration in appveyor.bat - Fixed windows exit code, Appveyor reports exit on succesful build - Multiple Builds in same platform and configuration, fixed it - Added appveyor configuration to compile using MinGW 32-bit and 64-bits - Minor Fixes for batch file and Added cygwin build script Signed-off-by: Ludovic Rousseau --- appveyor_cygwin.bat | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 appveyor_cygwin.bat (limited to 'appveyor_cygwin.bat') diff --git a/appveyor_cygwin.bat b/appveyor_cygwin.bat new file mode 100644 index 0000000..5e30794 --- /dev/null +++ b/appveyor_cygwin.bat @@ -0,0 +1,14 @@ +echo on +SetLocal EnableDelayedExpansion + +if [%Configuration%] NEQ [Debug] goto releaseWin32 + +:releaseWin32 +if [%Platform%] NEQ [Win32] exit 0 +if [%Configuration%] NEQ [Release] exit 0 +C:\cygwin\bin\bash -e -l -c "mkdir build-Win32-cygwin" +C:\cygwin\bin\bash -e -l -c ./autogen.sh +C:\cygwin\bin\bash -e -l -c "cd build-Win32-cygwin" +C:\cygwin\bin\bash -e -l -c "build-Win32-cygwin/../configure" +C:\cygwin\bin\bash -e -l -c "make -j4" +C:\cygwin\bin\bash -e -l -c "make install" \ No newline at end of file -- cgit v1.2.1