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: '"MinGW Makefiles"'
|
|
|
|
BUILD_TYPE: Debug
|
2019-12-06 03:24:31 +08:00
|
|
|
- GENERATOR: '"MSYS Makefiles"'
|
2017-06-10 01:11:29 +08:00
|
|
|
BUILD_TYPE: Release
|
|
|
|
- GENERATOR: '"Visual Studio 14 2015"'
|
|
|
|
BUILD_TYPE: Debug
|
|
|
|
- GENERATOR: '"Visual Studio 14 2015"'
|
|
|
|
BUILD_TYPE: Release
|
|
|
|
- GENERATOR: '"Visual Studio 14 2015 Win64"'
|
|
|
|
BUILD_TYPE: Debug
|
|
|
|
- GENERATOR: '"Visual Studio 14 2015 Win64"'
|
|
|
|
BUILD_TYPE: Release
|
2019-12-05 19:42:28 +08:00
|
|
|
- GENERATOR: '"Visual Studio 15 2017 Win64"'
|
|
|
|
BUILD_TYPE: Debug
|
|
|
|
- GENERATOR: '"Visual Studio 15 2017 Win64"'
|
|
|
|
BUILD_TYPE: Release
|
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
|
2017-06-10 01:11:29 +08:00
|
|
|
|
2019-12-06 03:24:31 +08:00
|
|
|
set PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw32\bin;C:\msys64\usr\bin;%PATH%
|
2019-12-06 02:52:57 +08:00
|
|
|
|
2019-12-06 04:34:36 +08:00
|
|
|
cmake .. -G %GENERATOR% -D_WIN32 -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DSPDLOG_WCHAR_SUPPORT=ON -DSPDLOG_BUILD_EXAMPLE=ON -DSPDLOG_BUILD_EXAMPLE_HO=ON -DSPDLOG_BUILD_TESTS=ON -DSPDLOG_BUILD_TESTS_HO=OFF
|
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%"
|