From 81e7954e55b133044d677fef0a5e2beaaa53c541 Mon Sep 17 00:00:00 2001 From: pantor Date: Tue, 15 Aug 2017 22:39:48 +0200 Subject: [PATCH] add windows visual studio tests --- README.md | 2 +- appvoyer.yml | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 appvoyer.yml diff --git a/README.md b/README.md index 4b58cb7..4e7449f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[

](https://github.com/pantor/inja/releases) +[
](https://github.com/pantor/inja/releases) diff --git a/appvoyer.yml b/appvoyer.yml new file mode 100644 index 0000000..1336989 --- /dev/null +++ b/appvoyer.yml @@ -0,0 +1,27 @@ +version: '{build}' + +os: + - Visual Studio 2015 + - Visual Studio 2017 + +environment: + matrix: + - additional_flags: "" + - additional_flags: "/permissive- /std:c++latest /utf-8" + +matrix: + exclude: + - additional_flags: "/permissive- /std:c++latest /utf-8" + os: Visual Studio 2015 + +init: [] + +install: [] + +build_script: + - IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" ( SET GEN="Visual Studio 14 2015") ELSE (SET GEN="Visual Studio 15 2017") + - cmake . -G%GEN% -DCMAKE_CXX_FLAGS="%additional_flags%" + - cmake --build . --config Release + +test_script: + - ctest -C Release -V