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 00:59:43 +08:00
|
|
|
- GENERATOR: '"MinGW Makefiles" -DCMAKE_MAKE_PROGRAM=mingw32-make.exe'
|
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
|
|
|
|
|
|
|
|
mkdir build
|
|
|
|
|
|
|
|
cd build
|
|
|
|
|
2019-12-06 02:20:10 +08:00
|
|
|
set PATH=%PATH:C:\Program Files\Git\usr\bin;%
|
2017-06-10 01:11:29 +08:00
|
|
|
|
2019-12-06 02:13:02 +08:00
|
|
|
set PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\bin;C:\msys64\bin;%PATH%
|
2019-12-06 00:51:26 +08:00
|
|
|
|
2019-09-23 17:06:21 +08:00
|
|
|
cmake .. -G %GENERATOR% -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%"
|