29 lines
613 B
YAML
29 lines
613 B
YAML
version: '{build}'
|
|
|
|
environment:
|
|
matrix:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
platform: x86
|
|
FLAGS: ""
|
|
GENERATOR: Visual Studio 15 2017
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
platform: x64
|
|
FLAGS: ""
|
|
GENERATOR: Visual Studio 15 2017
|
|
|
|
init:
|
|
- cmake --version
|
|
- msbuild /version
|
|
|
|
before_build:
|
|
- mkdir build
|
|
- cd build
|
|
- cmake .. -G "%GENERATOR%" -DBUILD_TESTS=ON -DCMAKE_CXX_FLAGS="%FLAGS%" -DCMAKE_IGNORE_PATH="C:/Program Files/Git/usr/bin"
|
|
|
|
build_script:
|
|
- cmake --build . --config Release
|
|
|
|
test_script:
|
|
- ctest -C Release -V -j
|