From 47d3aad50ec5234afe83124fa0f2d7e9d0bb7148 Mon Sep 17 00:00:00 2001 From: Raoul Wols Date: Tue, 14 Feb 2017 12:51:42 +0100 Subject: [PATCH] Add appveyor tests --- appveyor.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..3bb30c4 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,34 @@ +environment: + PROJECT_FOLDER: "c:/yaml-cpp" + INSTALL_PREFIX: "c:/install" + +# Operating system (build VM template) +os: Visual Studio 2015 + +# scripts that are called at very beginning, before repo cloning +init: + + +# clone directory +clone_folder: "%PROJECT_FOLDER%" + +platform: + - x86 + - x64 + +configuration: + - Debug + - Release + +install: + +# scripts to run before build +before_build: + - cmake . -DCMAKE_INSTALL_PREFIX=%INSTALL_PREFIX% + +# What solutions to build +build: + project: ALL_BUILD.vcxproj + +test_script: + - ctest -V