Skip to content

Commit 1808ace

Browse files
committed
CI: upgrade Windows Server images to windows-2022
1 parent 840ef4c commit 1808ace

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/build-mingw.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2021-2024 Morwenn
1+
# Copyright (c) 2021-2025 Morwenn
22
# SPDX-License-Identifier: MIT
33

44
name: MinGW-w64 Builds
@@ -23,7 +23,7 @@ on:
2323

2424
jobs:
2525
build:
26-
runs-on: windows-2019
26+
runs-on: windows-2022
2727

2828
strategy:
2929
fail-fast: false
@@ -38,7 +38,6 @@ jobs:
3838
working-directory: ${{runner.workspace}}
3939
run: |
4040
cmake -H${{github.event.repository.name}} -Bbuild `
41-
-DCMAKE_CONFIGURATION_TYPES=${{matrix.build_type}} `
4241
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} `
4342
-G"MinGW Makefiles" `
4443
-DCPPSORT_BUILD_EXAMPLES=ON

.github/workflows/build-msvc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2021-2024 Morwenn
1+
# Copyright (c) 2021-2025 Morwenn
22
# SPDX-License-Identifier: MIT
33

44
name: MSVC Builds
@@ -23,7 +23,7 @@ on:
2323

2424
jobs:
2525
build:
26-
runs-on: windows-2019
26+
runs-on: windows-2022
2727

2828
strategy:
2929
fail-fast: false
@@ -44,7 +44,7 @@ jobs:
4444
cmake -H${{github.event.repository.name}} -Bbuild `
4545
-DCMAKE_CONFIGURATION_TYPES=${{matrix.config.build_type}} `
4646
-DCMAKE_BUILD_TYPE=${{matrix.config.build_type}} `
47-
-G"Visual Studio 16 2019" -A x64 ${{matrix.config.build_tools}} `
47+
-G"Visual Studio 17 2022" -A x64 ${{matrix.config.build_tools}} `
4848
-DCPPSORT_BUILD_EXAMPLES=ON
4949
5050
- name: Build the test suite

0 commit comments

Comments
 (0)