Skip to content

Commit

Permalink
CI/AppVeyor: Upgrade image to Visual Studio 2022 (TrinityCore#28378)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren authored Oct 25, 2022
1 parent 4785794 commit e46e61d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: 1.0.{build}
image: Visual Studio 2019
image: Visual Studio 2022
clone_depth: 1
init:
- ps: ''
Expand All @@ -12,9 +12,9 @@ build_script:
md build && cd build
cmake -G"Visual Studio 16 2019" -A x64 -DSCRIPTS=dynamic -DTOOLS=True -DCMAKE_CXX_FLAGS=" /DWIN32 /D_WINDOWS /W3 /GR /EHsc /WX" -DCMAKE_C_FLAGS="/DWIN32 /D_WINDOWS /W3 /WX" ..
cmake -G"Visual Studio 17 2022" -A x64 -DSCRIPTS=dynamic -DTOOLS=True -DCMAKE_CXX_FLAGS=" /DWIN32 /D_WINDOWS /W3 /GR /EHsc /WX" -DCMAKE_C_FLAGS="/DWIN32 /D_WINDOWS /W3 /WX" ..
"%programfiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\amd64\MsBuild.exe" /nologo /m:2 /p:Configuration=RelWithDebInfo /p:Platform="X64" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" "TrinityCore.sln"
"C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" /nologo /m:2 /p:Configuration=RelWithDebInfo /p:Platform="X64" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" "TrinityCore.sln"
cd bin\RelWithDebInfo\
Expand All @@ -26,16 +26,16 @@ build_script:
cd ..
7z a TrinityCoreWin64VS2019.zip .\RelWithDebInfo\*
7z a TrinityCoreWin64VS2022.zip .\RelWithDebInfo\*
del /F /Q /S "RelWithDebInfo\*.pdb" > NUL
7z a TrinityCoreWin64VS2019NoSymbols.zip .\RelWithDebInfo\*
7z a TrinityCoreWin64VS2022NoSymbols.zip .\RelWithDebInfo\*
test: off
artifacts:
- path: build\bin\TrinityCoreWin64VS2019.zip
name: TrinityCoreWin64VS2019
- path: build\bin\TrinityCoreWin64VS2022.zip
name: TrinityCoreWin64VS2022

- path: build\bin\TrinityCoreWin64VS2019NoSymbols.zip
name: TrinityCoreWin64VS2019NoSymbols
- path: build\bin\TrinityCoreWin64VS2022NoSymbols.zip
name: TrinityCoreWin64VS2022NoSymbols

0 comments on commit e46e61d

Please sign in to comment.