Skip to content

Commit 70a010b

Browse files
authored
gh: update windows runner images (#222)
The windows-19 runners are deprecated. Move to windows-22, to a newer toolset. Throw away unused cmake presets, force Ninja builds in {x86,x64}-{debug,release} presets.
1 parent eaa6c29 commit 70a010b

2 files changed

Lines changed: 11 additions & 380 deletions

File tree

.github/workflows/build-win.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020

2121
jobs:
2222
build-win-x64:
23-
runs-on: windows-2019
23+
runs-on: windows-2022
2424

2525
if: (inputs.run_build == true) || (github.event_name == 'push')
2626
steps:
@@ -46,16 +46,16 @@ jobs:
4646
uses: ilammy/msvc-dev-cmd@v1.12.0
4747
with:
4848
arch: x64
49-
toolset: 14.1
49+
toolset: 14.20
5050

5151
- uses: ./.github/actions/build-cmake-preset
5252
with:
53-
preset-name: vs141-x64-release
53+
preset-name: x64-release
5454
build-arch: x64
5555
artifact-label: ${{ github.job }}
5656

5757
build-win-x32:
58-
runs-on: windows-2019
58+
runs-on: windows-2022
5959

6060
if: inputs.run_build == true
6161
steps:
@@ -81,9 +81,9 @@ jobs:
8181
uses: ilammy/msvc-dev-cmd@v1.12.0
8282
with:
8383
arch: x86
84-
toolset: 14.1
84+
toolset: 14.20
8585

8686
- uses: ./.github/actions/build-cmake-preset
8787
with:
88-
preset-name: vs141-x86-release
88+
preset-name: x86-release
8989
artifact-label: ${{ github.job }}

0 commit comments

Comments
 (0)