mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-29 23:41:05 +00:00
9b41f4ab00
to avoid warnings
29 lines
761 B
YAML
29 lines
761 B
YAML
version: "{build}"
|
|
|
|
environment:
|
|
matrix:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
generator: Visual Studio 16 2019
|
|
systemver: 10.0.18362.0
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
|
generator: Visual Studio 17 2022
|
|
systemver: 10.0.22621.0
|
|
|
|
configuration:
|
|
- Release
|
|
- Debug
|
|
|
|
clone_depth: 10
|
|
clone_folder: c:\toml11
|
|
|
|
install:
|
|
- git submodule update --init --recursive
|
|
|
|
build_script:
|
|
- cd C:\toml11
|
|
- cmake -B build -G"%generator%" -DCMAKE_SYSTEM_VERSION="%systemver%" -A x64 -DCMAKE_CXX_STANDARD=11 -DTOML11_BUILD_TESTS=ON -DTOML11_PRECOMPILE=ON
|
|
- cmake --build build --config "%configuration%"
|
|
|
|
test_script:
|
|
- ctest --test-dir build --build-config "%configuration%" --timeout 300 --output-on-failure
|