Change msvc version
This commit is contained in:
parent
260a10bea3
commit
07b520d10b
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.config.os }}
|
runs-on: ${{ matrix.config.os }}
|
||||||
env:
|
env:
|
||||||
OS: ${{ matrix.config.name }}
|
OS: ${{ matrix.config.name }}
|
||||||
MSVC_VERSION: 2019/Enterprise
|
MSVC_VERSION: 2022/Enterprise
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
|
@ -150,7 +150,7 @@ def get_msvc_env_cmd(bitness='64', msvc_version=''):
|
|||||||
if platform.system() != "Windows":
|
if platform.system() != "Windows":
|
||||||
return None
|
return None
|
||||||
|
|
||||||
msvc_path = 'C:/Program Files (x86)/Microsoft Visual Studio'
|
msvc_path = 'C:/Program Files/Microsoft Visual Studio'
|
||||||
if len(msvc_version) == 0:
|
if len(msvc_version) == 0:
|
||||||
with os.scandir(msvc_path) as ver_it:
|
with os.scandir(msvc_path) as ver_it:
|
||||||
version = next(ver_it, '')
|
version = next(ver_it, '')
|
||||||
|
Loading…
Reference in New Issue
Block a user