From d9c23d9197dbd82845e89b3b4cd61d3c120202b4 Mon Sep 17 00:00:00 2001 From: "Marty E. Plummer" Date: Fri, 5 Jan 2018 14:44:03 -0600 Subject: [PATCH] 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 --- .gitignore | 6 +++++- appveyor.yml | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) 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" -- 2.45.1