👷 set build type
This commit is contained in:
parent
7bbc06b487
commit
067e288289
1 changed files with 14 additions and 11 deletions
25
appveyor.yml
25
appveyor.yml
|
@ -2,6 +2,16 @@ version: '{build}'
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
|
- COMPILER: mingw
|
||||||
|
platform: x86
|
||||||
|
FLAGS: ""
|
||||||
|
GENERATOR: MinGW Makefiles
|
||||||
|
|
||||||
|
- COMPILER: mingw
|
||||||
|
platform: x64
|
||||||
|
FLAGS: ""
|
||||||
|
GENERATOR: MinGW Makefiles
|
||||||
|
|
||||||
- os: Visual Studio 2015
|
- os: Visual Studio 2015
|
||||||
platform: x86
|
platform: x86
|
||||||
FLAGS: ""
|
FLAGS: ""
|
||||||
|
@ -32,15 +42,8 @@ environment:
|
||||||
FLAGS: "/permissive- /std:c++latest /utf-8"
|
FLAGS: "/permissive- /std:c++latest /utf-8"
|
||||||
GENERATOR: Visual Studio 15 2017
|
GENERATOR: Visual Studio 15 2017
|
||||||
|
|
||||||
- COMPILER: mingw
|
matrix:
|
||||||
platform: x86
|
fast_finish: true
|
||||||
FLAGS: ""
|
|
||||||
GENERATOR: MinGW Makefiles
|
|
||||||
|
|
||||||
- COMPILER: mingw
|
|
||||||
platform: x64
|
|
||||||
FLAGS: ""
|
|
||||||
GENERATOR: MinGW Makefiles
|
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- cmake --version
|
- cmake --version
|
||||||
|
@ -50,10 +53,10 @@ install:
|
||||||
- if "%COMPILER%"=="mingw" set PATH=C:\MinGW\bin;%PATH%
|
- if "%COMPILER%"=="mingw" set PATH=C:\MinGW\bin;%PATH%
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- cmake . -G "%GENERATOR%" -DCMAKE_CXX_FLAGS="%FLAGS%" -DCMAKE_BUILD_TYPE=Release
|
- cmake . -G "%GENERATOR%" -DCMAKE_CXX_FLAGS="%FLAGS%"
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmake --build .
|
- cmake --build . --config Release
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- ctest -C Release -V -j
|
- ctest -C Release -V -j
|
||||||
|
|
Loading…
Reference in a new issue