From: Marty E. Plummer Date: Fri, 5 Jan 2018 20:44:03 +0000 (-0600) Subject: Add mingw-w64 builds to appveyor.yml X-Git-Tag: upstream/0.2.1^2~5 X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/commitdiff_plain/d9c23d9197dbd82845e89b3b4cd61d3c120202b4 Add mingw-w64 builds to appveyor.yml Currently the cygwin autoconf builds only test builds of cygwin-native binaries, and not mingw-w64 pure windows binaries. The resultant cygyaml-0-2.dll has a runtime dep on the cygwin1.dll which is generally not appropriate for the purpose of distribution. Building with mingw-w64 produces libraries with no dependency on the cygwin runtime. Signed-off-by: Marty E. Plummer --- diff --git a/.gitignore b/.gitignore index fb3b92b..530234e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,15 @@ .deps/ .libs/ -*~ *.BAK +*.a +*.dll +*.exe *.la *.lo *.o *.pc +*.so +*~ /CMakeCache.txt /CMakeFiles/ /CTestTestfile.cmake diff --git a/appveyor.yml b/appveyor.yml index 88f6e6a..24d24d2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,7 +19,11 @@ build_script: # Autoconf based in-source build and tests under Cygwin using gcc # -# 32-bit +# 32-bit cygwin build - C:\cygwin\bin\sh -c "export PATH=/usr/bin:/usr/local/bin:$PATH && ./bootstrap && ./configure && make && make test && make distclean" -# 64-bit +# 64-bit cygwin build - C:\cygwin64\bin\sh -c "export PATH=/usr/bin:/usr/local/bin:$PATH && ./bootstrap && ./configure && make && make test && make distclean" +# 32-bit mingw-w64 build +- C:\cygwin\bin\sh -c "export PATH=/usr/bin:/usr/local/bin:$PATH && ./bootstrap && ./configure --host=i686-w64-mingw32 --target=i686-w64-mingw32 && make && make test && make distclean" +# 64-bit mingw-w64 build +- C:\cygwin64\bin\sh -c "export PATH=/usr/bin:/usr/local/bin:$PATH && ./bootstrap && ./configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 && make && make test && make distclean"