[GITHUB] Fix toolset version for MSVC 17.10 (#6997)

MSVC 17.10 now uses 14.4x for its toolset version.
GitHub just upgraded to this version as seen here:
- https://github.com/actions/runner-images/releases/tag/win22%2F20240603.1

Use latest toolset instead of clamping to a specific minor version.
This commit is contained in:
Maj Soklič 2024-06-07 00:22:20 +02:00 committed by GitHub
parent 5a159ad1cc
commit 6c7974d91f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,7 +85,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [windows-latest] os: [windows-latest]
toolset: ['14.3','14.2'] # VS 2022, and 2019 (see below) toolset: ['14','14.2'] # VS 2022, and 2019 (see below)
arch: [i386, amd64] arch: [i386, amd64]
config: [Debug, Release] config: [Debug, Release]
dllver: ['0x502', '0x600'] dllver: ['0x502', '0x600']
@ -145,7 +145,7 @@ jobs:
build-msvc-arm: build-msvc-arm:
strategy: strategy:
matrix: matrix:
toolset: ['14.3','14.2'] # VS 2022, 2019 toolset: ['14','14.2'] # VS 2022, 2019
arch: [arm, arm64] arch: [arm, arm64]
config: [Debug, Release] config: [Debug, Release]
fail-fast: false fail-fast: false
@ -222,7 +222,7 @@ jobs:
name: reactos-syms-msvc${{matrix.toolset}}-${{matrix.arch}}-${{matrix.config}}-${{github.sha}} name: reactos-syms-msvc${{matrix.toolset}}-${{matrix.arch}}-${{matrix.config}}-${{github.sha}}
path: build/msvc_pdb path: build/msvc_pdb
# FIXME: Does not boot on toolset 14.1, 14.3 is untested # FIXME: Does not boot on toolset 14.1, 14.3+ is untested
build-clang-cl: build-clang-cl:
strategy: strategy:
matrix: matrix:
@ -249,13 +249,13 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1 uses: ilammy/msvc-dev-cmd@v1
with: with:
arch: amd64_x86 arch: amd64_x86
toolset: '14.3' toolset: '14'
- name: Activate VS cmd (amd64) - name: Activate VS cmd (amd64)
if: ${{ matrix.arch == 'amd64' }} if: ${{ matrix.arch == 'amd64' }}
uses: ilammy/msvc-dev-cmd@v1 uses: ilammy/msvc-dev-cmd@v1
with: with:
arch: amd64 arch: amd64
toolset: '14.3' toolset: '14'
- name: Add LLVM to PATH - name: Add LLVM to PATH
run: echo "${env:LLVM_PATH}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append run: echo "${env:LLVM_PATH}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Source checkout - name: Source checkout