2017-06-10 01:11:29 +08:00
|
|
|
version: 1.0.{build}
|
2019-12-05 20:17:10 +08:00
|
|
|
image: Visual Studio 2017
|
2017-06-10 01:11:29 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- GENERATOR: '"Visual Studio 14 2015"'
|
|
|
|
BUILD_TYPE: Debug
|
2019-12-06 04:53:06 +08:00
|
|
|
WCHAR: 'OFF'
|
2017-06-10 01:11:29 +08:00
|
|
|
- GENERATOR: '"Visual Studio 14 2015"'
|
|
|
|
BUILD_TYPE: Release
|
2019-12-06 04:53:06 +08:00
|
|
|
WCHAR: 'ON'
|
2017-06-10 01:11:29 +08:00
|
|
|
- GENERATOR: '"Visual Studio 14 2015 Win64"'
|
|
|
|
BUILD_TYPE: Debug
|
2019-12-06 04:53:06 +08:00
|
|
|
WCHAR: 'ON'
|
2017-06-10 01:11:29 +08:00
|
|
|
- GENERATOR: '"Visual Studio 14 2015 Win64"'
|
|
|
|
BUILD_TYPE: Release
|
2019-12-06 04:53:06 +08:00
|
|
|
WCHAR: 'ON'
|
2019-12-05 19:42:28 +08:00
|
|
|
- GENERATOR: '"Visual Studio 15 2017 Win64"'
|
|
|
|
BUILD_TYPE: Debug
|
2019-12-06 04:53:06 +08:00
|
|
|
WCHAR: 'ON'
|
2019-12-05 19:42:28 +08:00
|
|
|
- GENERATOR: '"Visual Studio 15 2017 Win64"'
|
|
|
|
BUILD_TYPE: Release
|
2019-12-06 05:19:31 +08:00
|
|
|
WCHAR: 'OFf'
|
2017-06-10 01:11:29 +08:00
|
|
|
build_script:
|
|
|
|
- cmd: >-
|
|
|
|
set
|
2019-12-06 02:52:57 +08:00
|
|
|
|
2017-06-10 01:11:29 +08:00
|
|
|
mkdir build
|
2019-12-06 02:52:57 +08:00
|
|
|
|
|
|
|
cd build
|
2017-06-10 01:11:29 +08:00
|
|
|
|
2019-12-06 02:21:04 +08:00
|
|
|
set PATH=%PATH%:C:\Program Files\Git\usr\bin
|
2019-12-06 02:52:57 +08:00
|
|
|
|
2020-04-04 22:20:48 +08:00
|
|
|
cmake .. -G %GENERATOR% -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DSPDLOG_WCHAR_SUPPORT=%WCHAR% -DSPDLOG_BUILD_EXAMPLE=ON -DSPDLOG_BUILD_EXAMPLE_HO=ON -DSPDLOG_BUILD_TESTS=ON -DSPDLOG_BUILD_TESTS_HO=OFF -DSPDLOG_ENABLE_WARNINGS=ON
|
2017-06-10 01:11:29 +08:00
|
|
|
|
|
|
|
cmake --build . --config %BUILD_TYPE%
|
2018-12-02 22:30:07 +08:00
|
|
|
|
|
|
|
test_script:
|
|
|
|
- ctest -VV -C "%BUILD_TYPE%"
|