Skip to content

Commit

Permalink
Add Visual Studio 2022 build.
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacsv committed Dec 17, 2021
1 parent b643dad commit 185a451
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ environment:
image:
- Visual Studio 2017
- Visual Studio 2019
- Visual Studio 2022

configuration:
- Debug
Expand All @@ -23,6 +24,7 @@ init:
- set cMakeParams=
- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" ( set cMakeParams=-G "Visual Studio 15 2017 Win64" )
- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2019" ( set cMakeParams=-G "Visual Studio 16 2019" -A "x64")
- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2022" ( set cMakeParams=-G "Visual Studio 17 2022" -A "x64")

before_build:
- mkdir Build
Expand All @@ -38,6 +40,7 @@ after_build:
- set packageName=
- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" (set packageName=Windows_VS2017)
- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2019" (set packageName=Windows_VS2019)
- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2022" (set packageName=Windows_VS2022)
- python CreateDevKit.py "MSBuild" %configuration%
- python CreatePackage.py Build\DevKit %packageName% %configuration%

Expand Down

0 comments on commit 185a451

Please sign in to comment.