Skip to content

Commit

Permalink
bump to Windows Server 2022, Visual Studio 2022 for Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Moreau committed Feb 5, 2024
1 parent dcd8cf9 commit 19f677c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conan-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
build_type = $BuildType
os = $Platform
runner = switch ($Platform) {
"windows" { "windows-2019" }
"windows" { "windows-2022" }
{ @("macos", "ios") -contains $_ } { "macos-latest" }
{ @("linux", "android") -contains $_ } { "ubuntu-20.04" }
}
Expand Down
2 changes: 1 addition & 1 deletion recipes/shared/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def cmake_wrapper(self, cmake, settings, options):
os_version = "9.3"

if target_os == 'Windows':
cmake.generator = 'Visual Studio 16 2019'
cmake.generator = 'Visual Studio 17 2022'
cmake.generator_platform = {
'x86': 'Win32',
'x86_64': 'x64',
Expand Down

0 comments on commit 19f677c

Please sign in to comment.