Skip to content

Commit c8959b2

Browse files
authored
GitHub Actions windows-2019 runner is being retired (#617)
1 parent 169f7cf commit c8959b2

File tree

4 files changed

+48
-44
lines changed

4 files changed

+48
-44
lines changed

.github/workflows/bvt.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ permissions:
3838

3939
jobs:
4040
build:
41-
runs-on: ${{ matrix.os }}
41+
runs-on: windows-2022
4242
timeout-minutes: 60
4343

4444
strategy:
4545
fail-fast: false
4646

4747
matrix:
48-
os: [windows-2019, windows-2022]
48+
toolver: ['14.29', '14']
4949
build_type: [x64-Release]
5050
arch: [amd64]
5151

@@ -65,6 +65,7 @@ jobs:
6565
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
6666
with:
6767
arch: ${{ matrix.arch }}
68+
toolset: ${{ matrix.toolver }}
6869

6970
- name: 'Set triplet'
7071
shell: pwsh

.github/workflows/main.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,62 +38,62 @@ permissions:
3838

3939
jobs:
4040
build:
41-
runs-on: ${{ matrix.os }}
41+
runs-on: windows-2022
4242

4343
strategy:
4444
fail-fast: false
4545

4646
matrix:
47-
os: [windows-2019, windows-2022]
47+
toolver: ['14.29', '14']
4848
build_type: [x64-Debug, x64-Release]
4949
arch: [amd64]
5050
include:
51-
- os: windows-2019
51+
- toolver: '14.29'
5252
build_type: x86-Debug
5353
arch: amd64_x86
54-
- os: windows-2019
54+
- toolver: '14.29'
5555
build_type: x86-Release
5656
arch: amd64_x86
57-
- os: windows-2022
57+
- toolver: '14'
5858
build_type: x86-Debug
5959
arch: amd64_x86
60-
- os: windows-2022
60+
- toolver: '14'
6161
build_type: x86-Release
6262
arch: amd64_x86
63-
- os: windows-2022
63+
- toolver: '14'
6464
build_type: arm64-Debug
6565
arch: amd64_arm64
66-
- os: windows-2022
66+
- toolver: '14'
6767
build_type: arm64-Release
6868
arch: amd64_arm64
69-
- os: windows-2022
69+
- toolver: '14'
7070
build_type: arm64ec-Debug
7171
arch: amd64_arm64
72-
- os: windows-2022
72+
- toolver: '14'
7373
build_type: arm64ec-Release
7474
arch: amd64_arm64
75-
- os: windows-2022
75+
- toolver: '14'
7676
build_type: x64-Debug-Win8
7777
arch: amd64
78-
- os: windows-2022
78+
- toolver: '14'
7979
build_type: x64-Release-Win8
8080
arch: amd64
81-
- os: windows-2022
81+
- toolver: '14'
8282
build_type: x64-Debug-Clang
8383
arch: amd64
84-
- os: windows-2022
84+
- toolver: '14'
8585
build_type: x64-Release-Clang
8686
arch: amd64
87-
- os: windows-2022
87+
- toolver: '14'
8888
build_type: x86-Debug-Clang
8989
arch: amd64_x86
90-
- os: windows-2022
90+
- toolver: '14'
9191
build_type: x86-Release-Clang
9292
arch: amd64_x86
93-
- os: windows-2022
93+
- toolver: '14'
9494
build_type: arm64-Debug-Clang
9595
arch: amd64_arm64
96-
- os: windows-2022
96+
- toolver: '14'
9797
build_type: arm64-Release-Clang
9898
arch: amd64_arm64
9999

@@ -106,6 +106,7 @@ jobs:
106106
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
107107
with:
108108
arch: ${{ matrix.arch }}
109+
toolset: ${{ matrix.toolver }}
109110

110111
- name: 'Configure CMake'
111112
working-directory: ${{ github.workspace }}

.github/workflows/test.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,51 +41,51 @@ permissions:
4141

4242
jobs:
4343
build:
44-
runs-on: ${{ matrix.os }}
44+
runs-on: windows-2022
4545
timeout-minutes: 60
4646

4747
strategy:
4848
fail-fast: false
4949

5050
matrix:
51-
os: [windows-2019, windows-2022]
51+
toolver: ['14.29', '14']
5252
build_type: [x64-Debug, x64-Release]
5353
arch: [amd64]
5454
include:
55-
- os: windows-2019
55+
- toolver: '14.29'
5656
build_type: x86-Debug
5757
arch: amd64_x86
58-
- os: windows-2019
58+
- toolver: '14.29'
5959
build_type: x86-Release
6060
arch: amd64_x86
61-
- os: windows-2022
61+
- toolver: '14'
6262
build_type: x86-Debug
6363
arch: amd64_x86
64-
- os: windows-2022
64+
- toolver: '14'
6565
build_type: x86-Release
6666
arch: amd64_x86
67-
- os: windows-2022
67+
- toolver: '14'
6868
build_type: x64-Debug-Clang
6969
arch: amd64
70-
- os: windows-2022
70+
- toolver: '14'
7171
build_type: x64-Release-Clang
7272
arch: amd64
73-
- os: windows-2022
73+
- toolver: '14'
7474
build_type: x86-Debug-Clang
7575
arch: amd64_x86
76-
- os: windows-2022
76+
- toolver: '14'
7777
build_type: x86-Release-Clang
7878
arch: amd64_x86
79-
- os: windows-2022
79+
- toolver: '14'
8080
build_type: arm64-Debug
8181
arch: amd64_arm64
82-
- os: windows-2022
82+
- toolver: '14'
8383
build_type: arm64-Release
8484
arch: amd64_arm64
85-
- os: windows-2022
85+
- toolver: '14'
8686
build_type: arm64ec-Debug
8787
arch: amd64_arm64
88-
- os: windows-2022
88+
- toolver: '14'
8989
build_type: arm64ec-Release
9090
arch: amd64_arm64
9191

@@ -105,6 +105,7 @@ jobs:
105105
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
106106
with:
107107
arch: ${{ matrix.arch }}
108+
toolset: ${{ matrix.toolver }}
108109

109110
- name: 'Set triplet'
110111
shell: pwsh

.github/workflows/vcpkg.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,46 +34,46 @@ permissions:
3434

3535
jobs:
3636
build:
37-
runs-on: ${{ matrix.os }}
37+
runs-on: windows-2022
3838

3939
strategy:
4040
fail-fast: false
4141

4242
matrix:
43-
os: [windows-2019, windows-2022]
43+
toolver: ['14.29', '14']
4444
build_type: [x64-Debug-VCPKG]
4545
arch: [amd64]
4646
shared: [OFF]
4747
include:
48-
- os: windows-2022
48+
- toolver: '14'
4949
build_type: x64-Debug-Clang-VCPKG
5050
arch: amd64
5151
shared: OFF
52-
- os: windows-2022
52+
- toolver: '14'
5353
build_type: x86-Debug-VCPKG
5454
arch: amd64_x86
5555
shared: OFF
56-
- os: windows-2022
56+
- toolver: '14'
5757
build_type: arm64-Debug-VCPKG
5858
arch: amd64_arm64
5959
shared: OFF
60-
- os: windows-2022
60+
- toolver: '14'
6161
build_type: arm64ec-Debug-VCPKG
6262
arch: amd64_arm64
6363
shared: OFF
64-
- os: windows-2022
64+
- toolver: '14'
6565
build_type: x64-Debug-MinGW
6666
arch: amd64
6767
shared: OFF
68-
- os: windows-2022
68+
- toolver: '14'
6969
build_type: x64-Release-MinGW
7070
arch: amd64
7171
shared: OFF
72-
- os: windows-2022
72+
- toolver: '14'
7373
build_type: x64-Debug-MinGW
7474
arch: amd64
7575
shared: ON
76-
- os: windows-2022
76+
- toolver: '14'
7777
build_type: x64-Release-MinGW
7878
arch: amd64
7979
shared: ON
@@ -87,6 +87,7 @@ jobs:
8787
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
8888
with:
8989
arch: ${{ matrix.arch }}
90+
toolset: ${{ matrix.toolver }}
9091

9192
- name: 'Set triplet'
9293
shell: pwsh

0 commit comments

Comments
 (0)