support vs2022

This commit is contained in:
Nomango 2022-05-31 14:53:07 +08:00
parent 83fa857f52
commit 7520b8fadc
2 changed files with 6 additions and 4 deletions

View File

@ -46,6 +46,7 @@ for:
- master - master
environment: environment:
matrix: matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
@ -62,6 +63,7 @@ for:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
global: global:
job_to_deploy: 6 # 3(images) * 1(platform) * 2(configuration) job_to_deploy: 6 # 3(images) * 1(platform) * 2(configuration)
@ -129,4 +131,4 @@ notifications:
- 569629550@qq.com - 569629550@qq.com
on_build_success: true on_build_success: true
on_build_failure: true on_build_failure: true
on_build_status_changed: false on_build_status_changed: false

View File

@ -9,7 +9,7 @@ configurations {
// These are discussed in detail in the Pivots section. // These are discussed in detail in the Pivots section.
Toolset { Toolset {
key : "PlatformToolset"; key : "PlatformToolset";
choices: { v142, v141, v140 }; choices: { v143, v142, v141, v140 };
}; };
Platform { Platform {
@ -100,14 +100,14 @@ nuget {
${SRC_ROOT}\3rd-party\**\*.dll ${SRC_ROOT}\3rd-party\**\*.dll
}; };
("v140,v141,v142", "Win32", "Debug") => { ("v140,v141,v142,v143", "Win32", "Debug") => {
[${0},${1},${2}] { [${0},${1},${2}] {
lib: { ${OUTPUT_DIR}\${0}\${1}\${2}\*.lib }; lib: { ${OUTPUT_DIR}\${0}\${1}\${2}\*.lib };
symbols: { ${OUTPUT_DIR}\${0}\${1}\${2}\*.pdb }; symbols: { ${OUTPUT_DIR}\${0}\${1}\${2}\*.pdb };
}; };
}; };
("v140,v141,v142", "Win32", "Release") => { ("v140,v141,v142,v143", "Win32", "Release") => {
[${0},${1},${2}] { [${0},${1},${2}] {
lib: { ${OUTPUT_DIR}\${0}\${1}\${2}\*.lib }; lib: { ${OUTPUT_DIR}\${0}\${1}\${2}\*.lib };
}; };