summaryrefslogtreecommitdiff
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorIngy döt Net <ingy@ingy.net>2019-12-26 11:07:31 -0800
committerTina Müller (tinita) <cpan2@tinita.de>2020-03-26 22:20:56 +0100
commit42a370d6b02ff4f1f1257071c65e376adf9fb3bc (patch)
treee14fadba3b5966929f6ec9cbed493a6e97fc806a /.appveyor.yml
parent94ecadc50ebd19299c96ee96417d252a417c7816 (diff)
downloadlibyaml-git-42a370d6b02ff4f1f1257071c65e376adf9fb3bc.tar.gz
Move appveyor.yml to .appveyor.yml
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 0000000..8749615
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,29 @@
+version: 0.2.2.{build}
+
+image:
+- Visual Studio 2015
+- Visual Studio 2013
+
+build_script:
+
+#
+# CMake based in-source build and tests using Visual Studio
+#
+
+# Use 32-bit default generator ("Visual Studio 12 2013" or "Visual Studio 14 2015")
+- cmake .
+- cmake --build . --config Release --clean-first
+- ctest -C Release
+
+#
+# Autoconf based in-source build and tests under Cygwin using gcc
+#
+
+# 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 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"