mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26: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"
|
- additional_flags: "/D_UNICODE /DUNICODE"
|
||||||
wmain: 1
|
wmain: 1
|
||||||
|
|
||||||
|
- additional_flags: ""
|
||||||
|
wmain: 0
|
||||||
|
env_build_examples: 1
|
||||||
|
env_no_selftest: 1
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
exclude:
|
||||||
-
|
- os: Visual Studio 2015
|
||||||
additional_flags: "/permissive- /std:c++latest"
|
additional_flags: "/permissive- /std:c++latest"
|
||||||
os: Visual Studio 2015
|
|
||||||
-
|
- os: Visual Studio 2015
|
||||||
additional_flags: "/permissive- /std:c++latest"
|
env_build_examples: 1
|
||||||
os: Visual Studio 2013
|
env_no_selftest: 1
|
||||||
|
|
||||||
|
- configuration: Debug
|
||||||
|
env_build_examples: 1
|
||||||
|
env_no_selftest: 1
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- git config --global core.autocrlf input
|
- git config --global core.autocrlf input
|
||||||
@ -51,7 +60,7 @@ configuration:
|
|||||||
#Cmake will autodetect the compiler, but we set the arch
|
#Cmake will autodetect the compiler, but we set the arch
|
||||||
before_build:
|
before_build:
|
||||||
- set CXXFLAGS=%additional_flags%
|
- 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 with MSBuild
|
||||||
build:
|
build:
|
||||||
|
Loading…
Reference in New Issue
Block a user