2017-06-10 01:11:29 +08:00
|
|
|
version: 1.0.{build}
|
2021-06-27 03:44:02 +08:00
|
|
|
image: Visual Studio 2017
|
2017-06-10 01:11:29 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
2020-04-29 06:32:10 +08:00
|
|
|
- GENERATOR: '"Visual Studio 15 2017 Win64"'
|
|
|
|
BUILD_TYPE: Debug
|
2021-02-26 23:41:10 +08:00
|
|
|
BUILD_SHARED: 'OFF'
|
2022-11-01 04:51:41 +08:00
|
|
|
FATAL_ERRORS: 'OFF'
|
2021-01-06 16:55:46 +08:00
|
|
|
WCHAR_FILES: 'OFF'
|
2021-01-11 07:19:00 +08:00
|
|
|
BUILD_EXAMPLE: 'ON'
|
2021-11-14 00:29:05 +08:00
|
|
|
USE_STD_FORMAT: 'OFF'
|
2021-11-16 02:36:29 +08:00
|
|
|
CXX_STANDARD: 11
|
2020-04-29 06:32:10 +08:00
|
|
|
- GENERATOR: '"Visual Studio 15 2017 Win64"'
|
|
|
|
BUILD_TYPE: Release
|
2021-02-26 23:41:10 +08:00
|
|
|
BUILD_SHARED: 'OFF'
|
2022-11-01 04:51:41 +08:00
|
|
|
FATAL_ERRORS: 'OFF'
|
2021-01-06 16:55:46 +08:00
|
|
|
WCHAR_FILES: 'OFF'
|
2021-01-11 07:19:00 +08:00
|
|
|
BUILD_EXAMPLE: 'ON'
|
2021-11-14 00:29:05 +08:00
|
|
|
USE_STD_FORMAT: 'OFF'
|
2021-11-16 02:36:29 +08:00
|
|
|
CXX_STANDARD: 11
|
2020-04-29 06:32:10 +08:00
|
|
|
- GENERATOR: '"Visual Studio 15 2017 Win64"'
|
|
|
|
BUILD_TYPE: Release
|
2021-02-26 23:41:10 +08:00
|
|
|
BUILD_SHARED: 'ON'
|
2022-11-01 04:51:41 +08:00
|
|
|
FATAL_ERRORS: 'OFF'
|
2021-01-06 16:55:46 +08:00
|
|
|
WCHAR_FILES: 'OFF'
|
2021-01-11 07:19:00 +08:00
|
|
|
BUILD_EXAMPLE: 'ON'
|
2021-11-14 00:29:05 +08:00
|
|
|
USE_STD_FORMAT: 'OFF'
|
2021-11-16 02:36:29 +08:00
|
|
|
CXX_STANDARD: 11
|
2021-01-06 16:55:46 +08:00
|
|
|
- GENERATOR: '"Visual Studio 15 2017 Win64"'
|
|
|
|
BUILD_TYPE: Release
|
2021-02-26 23:41:10 +08:00
|
|
|
BUILD_SHARED: 'ON'
|
2022-11-01 04:51:41 +08:00
|
|
|
FATAL_ERRORS: 'OFF'
|
2021-01-06 16:55:46 +08:00
|
|
|
WCHAR_FILES: 'ON'
|
2021-01-11 07:19:00 +08:00
|
|
|
BUILD_EXAMPLE: 'OFF'
|
2021-11-14 00:29:05 +08:00
|
|
|
USE_STD_FORMAT: 'OFF'
|
2021-11-16 02:36:29 +08:00
|
|
|
CXX_STANDARD: 11
|
2021-06-27 02:44:03 +08:00
|
|
|
- GENERATOR: '"Visual Studio 16 2019" -A x64'
|
2021-06-27 01:45:29 +08:00
|
|
|
BUILD_TYPE: Release
|
|
|
|
BUILD_SHARED: 'ON'
|
2022-10-31 21:10:51 +08:00
|
|
|
FATAL_ERRORS: 'ON'
|
2021-06-27 01:45:29 +08:00
|
|
|
WCHAR_FILES: 'OFF'
|
|
|
|
BUILD_EXAMPLE: 'OFF'
|
2021-11-14 00:29:05 +08:00
|
|
|
USE_STD_FORMAT: 'OFF'
|
2021-11-16 02:36:29 +08:00
|
|
|
CXX_STANDARD: 17
|
2021-06-27 03:44:02 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
2021-11-14 01:08:01 +08:00
|
|
|
- GENERATOR: '"Visual Studio 17 2022" -A x64'
|
2021-11-14 00:29:05 +08:00
|
|
|
BUILD_TYPE: Release
|
|
|
|
BUILD_SHARED: 'ON'
|
2022-10-31 21:10:51 +08:00
|
|
|
FATAL_ERRORS: 'ON'
|
2021-11-14 00:29:05 +08:00
|
|
|
WCHAR_FILES: 'OFF'
|
|
|
|
BUILD_EXAMPLE: 'OFF'
|
|
|
|
USE_STD_FORMAT: 'ON'
|
2022-11-13 05:07:11 +08:00
|
|
|
CXX_STANDARD: 20
|
2021-11-14 00:29:05 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
2021-11-17 05:21:11 +08:00
|
|
|
- GENERATOR: '"Visual Studio 17 2022" -A x64'
|
|
|
|
BUILD_TYPE: Release
|
|
|
|
BUILD_SHARED: 'ON'
|
2022-10-31 21:10:51 +08:00
|
|
|
FATAL_ERRORS: 'ON'
|
2021-11-17 05:21:11 +08:00
|
|
|
WCHAR_FILES: 'ON'
|
|
|
|
BUILD_EXAMPLE: 'OFF'
|
|
|
|
USE_STD_FORMAT: 'ON'
|
2022-11-13 05:07:11 +08:00
|
|
|
CXX_STANDARD: 20
|
2021-11-17 05:21:11 +08:00
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
2017-06-10 01:11:29 +08:00
|
|
|
build_script:
|
2020-04-29 06:32:10 +08:00
|
|
|
- cmd: >-
|
|
|
|
set
|
2017-06-10 01:11:29 +08:00
|
|
|
|
2020-04-29 06:32:10 +08:00
|
|
|
mkdir build
|
2017-06-10 01:11:29 +08:00
|
|
|
|
2020-04-29 06:32:10 +08:00
|
|
|
cd build
|
2018-12-02 22:30:07 +08:00
|
|
|
|
2020-04-29 09:18:57 +08:00
|
|
|
set PATH=%PATH%;C:\Program Files\Git\usr\bin
|
2020-04-29 06:32:10 +08:00
|
|
|
|
2023-07-29 00:07:32 +08:00
|
|
|
cmake -G %GENERATOR% -D CMAKE_BUILD_TYPE=%BUILD_TYPE% -D BUILD_SHARED_LIBS=%BUILD_SHARED% -D SPDLOG_WCHAR_FILENAMES=%WCHAR_FILES% -D SPDLOG_BUILD_EXAMPLE=%BUILD_EXAMPLE% -D SPDLOG_BUILD_EXAMPLE_HO=%BUILD_EXAMPLE% -D SPDLOG_BUILD_TESTS=ON -D SPDLOG_BUILD_TESTS_HO=OFF -D SPDLOG_BUILD_WARNINGS=%FATAL_ERRORS% -D SPDLOG_USE_STD_FORMAT=%USE_STD_FORMAT% -D CMAKE_CXX_STANDARD=%CXX_STANDARD% ..
|
2020-04-29 06:32:10 +08:00
|
|
|
|
|
|
|
cmake --build . --config %BUILD_TYPE%
|
|
|
|
|
|
|
|
before_test:
|
2023-03-01 21:59:25 +08:00
|
|
|
- set PATH=%PATH%;C:\projects\spdlog\build\_deps\catch2-build\src\%BUILD_TYPE%;C:\projects\spdlog\build\%BUILD_TYPE%
|
2020-04-29 06:32:10 +08:00
|
|
|
|
2018-12-02 22:30:07 +08:00
|
|
|
test_script:
|
2020-04-29 08:54:59 +08:00
|
|
|
- C:\projects\spdlog\build\tests\%BUILD_TYPE%\spdlog-utests.exe
|