From 53e21bc146b404bd36c74dff11e85d02a5df44c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20D=C3=ADaz=20M=C3=A1s?= Date: Wed, 23 Aug 2017 19:53:48 +0200 Subject: [PATCH] Add support for AppVeyor. It will only build with Visual Studio 2017: - Build in Release mode - Build in Debug mode - Test the installation --- README.md | 1 + appveyor.yml | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 appveyor.yml diff --git a/README.md b/README.md index 64c05034..84d48c97 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/Exiv2/exiv2.svg?branch=master)](https://travis-ci.org/Exiv2/exiv2) +[![Build status](https://ci.appveyor.com/api/projects/status/yqtbcfb60588ogsa?svg=true)](https://ci.appveyor.com/project/piponazo/exiv2)

     @@@Marco@@@@@b                   ;mm                       /##Gilles###\
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..4fc068e7
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,10 @@
+image:
+- Visual Studio 2017
+
+build_script:
+  - md build
+  - cd build
+  - cmake -DEXIV2_ENABLE_XMP=OFF -DEXIV2_ENABLE_NLS=OFF -DEXIV2_ENABLE_PNG=OFF -DCMAKE_INSTALL_PREFIX=install ..
+  - cmake --build . --config Release
+  - cmake --build . --config Debug
+  - cmake --build . --target install