Skip to content

Commit 0facd24

Browse files
authored
[CI]Upgrade Windows runner os to windows-2022 and generator to Visual Studio 17 2022 (apache#14368)
### Motivation As github windows runner latest upgrade to [2022](actions/runner-images#4856), the `ci-cpp-build-windows.yaml` workflow should be changed otherwise the action would be failed such as [this one](https://github.com/apache/pulsar/actions/runs/1860147632) ### Modifications - Upgrade os version to 2022 - Change generator to `Visual Studio 17 2022`
1 parent 773f919 commit 0facd24

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci-cpp-build-windows.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,26 @@ jobs:
4646
matrix:
4747
include:
4848
- name: 'Windows x64'
49-
os: windows-latest
49+
os: windows-2022
5050
triplet: x64-windows
5151
vcpkg_dir: 'C:\vcpkg'
5252
suffix: 'windows-win64'
53-
generator: 'Visual Studio 16 2019'
53+
generator: 'Visual Studio 17 2022'
5454
arch: '-A x64'
5555
- name: 'Windows x86'
56-
os: windows-latest
56+
os: windows-2022
5757
triplet: x86-windows
5858
vcpkg_dir: 'C:\vcpkg'
5959
suffix: 'windows-win32'
60-
generator: 'Visual Studio 16 2019'
60+
generator: 'Visual Studio 17 2022'
6161
arch: '-A Win32'
6262

6363
steps:
6464
- name: checkout
6565
uses: actions/checkout@v2
6666

6767
- name: Detect changed files
68-
id: changes
68+
id: changes
6969
uses: apache/pulsar-test-infra/paths-filter@master
7070
with:
7171
filters: .github/changes-filter.yaml

0 commit comments

Comments
 (0)