Skip to content

Commit dd2cb57

Browse files
committed
CI: use Visual Studio 2026 generator for Windows ARM64
The windows-11-arm runner image (now windows-11-vs2026-arm64) no longer ships Visual Studio 2022, so the pinned VS 17 2022 generator failed with 'could not find any instance of Visual Studio'. Assisted-by: Kimi Code K3
1 parent 9e55de3 commit dd2cb57

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎AGENTS.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,7 @@ The `cibuildwheel` configuration in `pyproject.toml` pins:
257257

258258
and skips `*musllinux_ppc64le` plus testing on `*-*linux_ppc64le`,
259259
`*-*linux_riscv64` and `pp*-macosx_arm64`. On Windows it uses the
260-
`Visual Studio 18 2026` CMake generator for x64/x86 and
261-
`Visual Studio 17 2022` for ARM64.
260+
`Visual Studio 18 2026` CMake generator for x64/x86 and ARM64.
262261

263262
## Security Considerations
264263

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ environment.LIBGIT2 = "C:/libgit2_install_x86"
5555
[[tool.cibuildwheel.overrides]]
5656
select="*-win_arm64"
5757
inherit.environment="append"
58-
environment.CMAKE_GENERATOR = "Visual Studio 17 2022"
58+
environment.CMAKE_GENERATOR = "Visual Studio 18 2026"
5959
environment.CMAKE_GENERATOR_PLATFORM = "ARM64"
6060
environment.CMAKE_INSTALL_PREFIX = "C:/libgit2_install_arm64"
6161
environment.LIBGIT2 = "C:/libgit2_install_arm64"

0 commit comments

Comments
 (0)