Skip to content

Commit 6e6a2b8

Browse files
authored
GitHub Actions windows-2019 runner is being retired (#232)
1 parent 4a556f4 commit 6e6a2b8

File tree

5 files changed

+52
-45
lines changed

5 files changed

+52
-45
lines changed

.github/workflows/bvt.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ permissions:
3636

3737
jobs:
3838
build:
39-
runs-on: ${{ matrix.os }}
39+
runs-on: windows-2022
4040
timeout-minutes: 20
4141

4242
strategy:
4343
fail-fast: false
4444

4545
matrix:
46-
os: [windows-2019, windows-2022]
47-
build_type: [x64-Debug, x64-Release]
46+
toolver: ['14.29', '14']
47+
build_type: [x64-Release]
4848
arch: [amd64]
4949

5050
steps:
@@ -63,6 +63,7 @@ jobs:
6363
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
6464
with:
6565
arch: ${{ matrix.arch }}
66+
toolset: ${{ matrix.toolver }}
6667

6768
- name: 'Configure CMake'
6869
working-directory: ${{ github.workspace }}

.github/workflows/main.yml

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

3737
jobs:
3838
build:
39-
runs-on: ${{ matrix.os }}
39+
runs-on: windows-2022
4040

4141
strategy:
4242
fail-fast: false
4343

4444
matrix:
45-
os: [windows-2019, windows-2022]
45+
toolver: ['14.29', '14']
4646
build_type: [x64-Debug, x64-Release]
4747
arch: [amd64]
4848
include:
49-
- os: windows-2019
49+
- toolver: '14.29'
5050
build_type: x86-Debug
5151
arch: amd64_x86
52-
- os: windows-2019
52+
- toolver: '14.29'
5353
build_type: x86-Release
5454
arch: amd64_x86
55-
- os: windows-2022
55+
- toolver: '14'
5656
build_type: x86-Debug
5757
arch: amd64_x86
58-
- os: windows-2022
58+
- toolver: '14'
5959
build_type: x86-Release
6060
arch: amd64_x86
61-
- os: windows-2022
61+
- toolver: '14'
6262
build_type: arm64-Debug
6363
arch: amd64_arm64
64-
- os: windows-2022
64+
- toolver: '14'
6565
build_type: arm64-Release
6666
arch: amd64_arm64
67-
- os: windows-2022
67+
- toolver: '14'
6868
build_type: arm64ec-Debug
6969
arch: amd64_arm64
70-
- os: windows-2022
70+
- toolver: '14'
7171
build_type: arm64ec-Release
7272
arch: amd64_arm64
73-
- os: windows-2022
73+
- toolver: '14'
7474
build_type: x64-Debug-Win8
7575
arch: amd64
76-
- os: windows-2022
76+
- toolver: '14'
7777
build_type: x64-Release-Win8
7878
arch: amd64
79-
- os: windows-2022
79+
- toolver: '14'
8080
build_type: x64-Debug-Clang
8181
arch: amd64
82-
- os: windows-2022
82+
- toolver: '14'
8383
build_type: x64-Release-Clang
8484
arch: amd64
85-
- os: windows-2022
85+
- toolver: '14'
8686
build_type: x86-Debug-Clang
8787
arch: amd64_x86
88-
- os: windows-2022
88+
- toolver: '14'
8989
build_type: x86-Release-Clang
9090
arch: amd64_x86
91-
- os: windows-2022
91+
- toolver: '14'
9292
build_type: arm64-Debug-Clang
9393
arch: amd64_arm64
94-
- os: windows-2022
94+
- toolver: '14'
9595
build_type: arm64-Release-Clang
9696
arch: amd64_arm64
9797

@@ -104,6 +104,7 @@ jobs:
104104
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
105105
with:
106106
arch: ${{ matrix.arch }}
107+
toolset: ${{ matrix.toolver }}
107108

108109
- name: 'Configure CMake'
109110
working-directory: ${{ github.workspace }}

.github/workflows/test.yml

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

4040
jobs:
4141
build:
42-
runs-on: ${{ matrix.os }}
42+
runs-on: windows-2022
4343
timeout-minutes: 20
4444

4545
strategy:
4646
fail-fast: false
4747

4848
matrix:
49-
os: [windows-2019, windows-2022]
49+
toolver: ['14.29', '14']
5050
build_type: [x64-Debug, x64-Release]
5151
arch: [amd64]
5252
include:
53-
- os: windows-2019
53+
- toolver: '14.29'
5454
build_type: x86-Debug
5555
arch: amd64_x86
56-
- os: windows-2019
56+
- toolver: '14.29'
5757
build_type: x86-Release
5858
arch: amd64_x86
59-
- os: windows-2022
59+
- toolver: '14'
6060
build_type: x86-Debug
6161
arch: amd64_x86
62-
- os: windows-2022
62+
- toolver: '14'
6363
build_type: x86-Release
6464
arch: amd64_x86
65-
- os: windows-2022
65+
- toolver: '14'
6666
build_type: x64-Debug-Clang
6767
arch: amd64
68-
- os: windows-2022
68+
- toolver: '14'
6969
build_type: x64-Release-Clang
7070
arch: amd64
71-
- os: windows-2022
71+
- toolver: '14'
7272
build_type: x86-Debug-Clang
7373
arch: amd64_x86
74-
- os: windows-2022
74+
- toolver: '14'
7575
build_type: x86-Release-Clang
7676
arch: amd64_x86
77-
- os: windows-2022
77+
- toolver: '14'
7878
build_type: arm64-Debug
7979
arch: amd64_arm64
80-
- os: windows-2022
80+
- toolver: '14'
8181
build_type: arm64-Release
8282
arch: amd64_arm64
83-
- os: windows-2022
83+
- toolver: '14'
8484
build_type: arm64ec-Debug
8585
arch: amd64_arm64
86-
- os: windows-2022
86+
- toolver: '14'
8787
build_type: arm64ec-Release
8888
arch: amd64_arm64
8989

@@ -103,6 +103,7 @@ jobs:
103103
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
104104
with:
105105
arch: ${{ matrix.arch }}
106+
toolset: ${{ matrix.toolver }}
106107

107108
- name: 'Configure CMake'
108109
working-directory: ${{ github.workspace }}

.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

.github/workflows/wsl.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ on:
3131
- build/*.targets
3232
- build/*.yml
3333

34+
permissions:
35+
contents: read
36+
3437
jobs:
3538
build:
3639
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)