Change msvc version

This commit is contained in:
Gres 2022-03-27 21:44:01 +03:00
parent 260a10bea3
commit 07b520d10b
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ jobs:
runs-on: ${{ matrix.config.os }}
env:
OS: ${{ matrix.config.name }}
MSVC_VERSION: 2019/Enterprise
MSVC_VERSION: 2022/Enterprise
strategy:
matrix:
config:

View File

@ -150,7 +150,7 @@ def get_msvc_env_cmd(bitness='64', msvc_version=''):
if platform.system() != "Windows":
return None
msvc_path = 'C:/Program Files (x86)/Microsoft Visual Studio'
msvc_path = 'C:/Program Files/Microsoft Visual Studio'
if len(msvc_version) == 0:
with os.scandir(msvc_path) as ver_it:
version = next(ver_it, '')