mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 05:16:10 +01:00
Add matrix element for examples to AppVeyor
This commit is contained in:
parent
d5d2bee4c5
commit
f6ae45122b
23
appveyor.yml
23
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:
|
||||
|
Loading…
Reference in New Issue
Block a user