This is an automated email from the ASF dual-hosted git repository.
apitrou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 46f8544500 GH-45620: [CI][C++] Use Visual Studio 2022 not 2019 (#45621)
46f8544500 is described below
commit 46f8544500cf606a5ba7ae93f15329673ab3f166
Author: Sutou Kouhei <[email protected]>
AuthorDate: Wed Feb 26 01:29:20 2025 +0900
GH-45620: [CI][C++] Use Visual Studio 2022 not 2019 (#45621)
### Rationale for this change
It seems that Visual Studio 2019 is in maintenance mode:
https://learn.microsoft.com/en-us/visualstudio/releases/2019/servicing-vs2019
### What changes are included in this PR?
Use Visual Studio 2022 on `windows-2022` image.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #45620
Lead-authored-by: Sutou Kouhei <[email protected]>
Co-authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
---
.github/workflows/cpp.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index 56cf75d286..cbb448cfa0 100644
--- a/.github/workflows/cpp.yml
+++ b/.github/workflows/cpp.yml
@@ -274,11 +274,11 @@ jobs:
fail-fast: false
matrix:
os:
- - windows-2019
+ - windows-2022
include:
- - os: windows-2019
+ - os: windows-2022
simd-level: AVX2
- title: AMD64 Windows 2019 C++17 AVX2
+ title: AMD64 Windows 2022 AVX2
env:
ARROW_BOOST_USE_SHARED: OFF
ARROW_BUILD_BENCHMARKS: ON
@@ -352,7 +352,7 @@ jobs:
- name: Build
shell: cmd
run: |
- call "C:\Program Files (x86)\Microsoft Visual
Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
+ call "C:\Program Files\Microsoft Visual
Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
bash -c "ci/scripts/cpp_build.sh $(pwd) $(pwd)/build"
- name: Test
shell: bash