Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Add matrix element for examples to AppVeyor

Commit
f6ae45122b8e4e4e83fd0b91e55f6da7d2a198af
Author
Martin Moene ·
Committer
Martin Hořeňovský
Parents
d5d2bee4c5b7

Files · Download .tar.gz

Changes

 appveyor.yml | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index 5f2bd9e2..2f7084ae 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -20,14 +20,23 @@ environment:
         - additional_flags: "/D_UNICODE /DUNICODE"
           wmain: 1
 
+        - additional_flags: ""
+          wmain: 0
+          env_build_examples: 1
+          env_no_selftest: 1
+
 matrix:
     exclude:
-        -
-            additional_flags: "/permissive- /std:c++latest"
-            os: Visual Studio 2015
-        -
-            additional_flags: "/permissive- /std:c++latest"
-            os: Visual Studio 2013
+        - os: Visual Studio 2015
+          additional_flags: "/permissive- /std:c++latest"
+
+        - os: Visual Studio 2015
+          env_build_examples: 1
+          env_no_selftest: 1
+
+        - configuration: Debug
+          env_build_examples: 1
+          env_no_selftest: 1
 
 init:
   - git config --global core.autocrlf input
@@ -51,7 +60,7 @@ configuration:
 #Cmake will autodetect the compiler, but we set the arch
 before_build:
   - set CXXFLAGS=%additional_flags%
-  - cmake -H. -BBuild -A%PLATFORM% -DUSE_WMAIN=%wmain%
+  - cmake -H. -BBuild -A%PLATFORM% -DUSE_WMAIN=%wmain% -DNO_SELFTEST=%env_no_selftest% -DBUILD_EXAMPLES=%env_build_examples%
 
 # build with MSBuild
 build: