ci: Add Visual Studio 2022
@@ -10,6 +10,8 @@ configuration:
- Release
environment:
matrix:
+ - VS: 2022
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
- VS: 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- VS: 2017
@@ -19,6 +21,7 @@ cache:
- C:\.hunter\_Base\Cache -> cmake\Hunter\init.cmake
before_build:
+ - if "%VS%" == "2022" (call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\Common7\Tools\vsdevcmd" -arch=amd64)
- if "%VS%" == "2019" (call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\Common7\Tools\vsdevcmd" -arch=amd64)
- if "%VS%" == "2017" (call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\vsdevcmd" -arch=amd64)
- if "%VS%" == "2017-32bit" (call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\vsdevcmd" -arch=x86)
