GitHub Actions: Update MSVC runner to windows-latest

Also change to MSVC 2022, which is the only MSVC compiler present
on the windows-latest runner.

MSVC 2022 is backwards compatible with MSVC 2019 and should work
fine with our Qt 6.3.1 MSVC 2019 package.

Change-Id: Id9967de33d2fea03f86243f8d54d369095918cfe
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Cristian Adam
2022-07-15 13:38:58 +02:00
parent 4c2306798d
commit 825a3a5e7e

View File

@@ -25,10 +25,10 @@ jobs:
matrix: matrix:
config: config:
- { - {
name: "Windows MSVC 2019", artifact: "Windows-MSVC", name: "Windows Latest MSVC", artifact: "Windows-MSVC",
os: windows-2019, os: windows-latest,
cc: "cl", cxx: "cl", cc: "cl", cxx: "cl",
environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat", environment_script: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat",
is_msvc: true is_msvc: true
} }
- { - {