From 07b520d10b5c68877b9b02cbc39b3f787ff9d7f4 Mon Sep 17 00:00:00 2001 From: Gres Date: Sun, 27 Mar 2022 21:44:01 +0300 Subject: [PATCH] Change msvc version --- .github/workflows/build.yml | 2 +- share/ci/common.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b83a90f..5a693b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: diff --git a/share/ci/common.py b/share/ci/common.py index 2ea71a3..1cee6fe 100644 --- a/share/ci/common.py +++ b/share/ci/common.py @@ -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, '')