Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add cases for old msvc
Browse files Browse the repository at this point in the history
ToruNiina committed Jan 12, 2025
1 parent 16a4719 commit 3a0ea08
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -4,11 +4,24 @@ environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
MSVC_VERSION: 2017
CXX_VERSION: 11
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
MSVC_VERSION: 2017
CXX_VERSION: 14
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
MSVC_VERSION: 2017
CXX_VERSION: 17
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
MSVC_VERSION: 2019
CXX_VERSION: 11
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
MSVC_VERSION: 2019
CXX_VERSION: 14
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
MSVC_VERSION: 2019
CXX_VERSION: 17

configuration:
- Release
- Debug

clone_depth: 10
@@ -20,7 +33,7 @@ install:
build_script:
- '"C:\Program Files (x86)\Microsoft Visual Studio\%MSVC_VERSION%\Community\VC\Auxiliary\Build\vcvarsall.bat" x64'
- cd C:\toml11
- cmake -B build -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=%configuration% -DCMAKE_CXX_STANDARD=11 -DTOML11_BUILD_TESTS=ON -DBUILD_TESTING=ON -DTOML11_PRECOMPILE=ON
- cmake -B build -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=%configuration% -DCMAKE_CXX_STANDARD=%CXX_VERSION% -DTOML11_BUILD_TESTS=ON -DBUILD_TESTING=ON -DTOML11_PRECOMPILE=ON
- cmake --build build

test_script:

0 comments on commit 3a0ea08

Please sign in to comment.