]> andersk Git - libyaml.git/commitdiff
Add mingw-w64 builds to appveyor.yml
authorMarty E. Plummer <hanetzer@protonmail.com>
Fri, 5 Jan 2018 20:44:03 +0000 (14:44 -0600)
committerIngy döt Net <ingy@ingy.net>
Tue, 9 Jan 2018 05:07:58 +0000 (21:07 -0800)
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 <hanetzer@protonmail.com>
.gitignore
appveyor.yml

index fb3b92b2c67962612fa0949e0cf2178ed470412b..530234e56b7a448602dc7282e4b79dfb30e76529 100644 (file)
@@ -1,11 +1,15 @@
 .deps/
 .libs/
-*~
 *.BAK
+*.a
+*.dll
+*.exe
 *.la
 *.lo
 *.o
 *.pc
+*.so
+*~
 /CMakeCache.txt
 /CMakeFiles/
 /CTestTestfile.cmake
index 88f6e6a2b776799ff2677844778ee5410a714b65..24d24d208afbb95f6b206e7748d5153fc7e32fbf 100644 (file)
@@ -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"
This page took 0.037825 seconds and 5 git commands to generate.