Skip to content

Commit f2c1edd

Browse files
committed
[build] Pin runners to windows-2022 (windows-2025 dropped VS2022 for VS2026)
1 parent f1fd032 commit f2c1edd

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎.github/workflows/build_wheels_windows.yml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ jobs:
4343
cuda-version: ['12']
4444
include:
4545
# CUDA 12: Supports Maxwell (5.0) through Blackwell (10.0)
46+
# NOTE: windows-2025 images now ship Visual Studio 2026 (v18) without VS2022,
47+
# which CUDA 12.9 nvcc cannot use as host compiler; windows-2022 keeps VS2022 (v143).
4648
- cuda-version: '12'
47-
runs-on: 'windows-2025'
49+
runs-on: 'windows-2022'
4850
cuda-installer: 'cuda_12.9.1_windows_network.exe'
4951
cuda-path-version: 'v12.9'
5052
cudnn-archive: 'cudnn-windows-x86_64-9.18.1.3_cuda12-archive.zip'
@@ -57,7 +59,7 @@ jobs:
5759
# TODO: Re-enable CUDA 13 after updating to OpenCV 4.13+
5860
# CUDA 13: Supports Turing (7.5) through Blackwell (12.0)
5961
# - cuda-version: '13'
60-
# runs-on: 'windows-2025'
62+
# runs-on: 'windows-2022'
6163
# cuda-installer: 'cuda_13.1.1_windows_network.exe'
6264
# cuda-path-version: 'v13.1'
6365
# cudnn-archive: 'cudnn-windows-x86_64-9.18.1.3_cuda13-archive.zip'
@@ -227,7 +229,7 @@ jobs:
227229

228230
Test:
229231
needs: [Build]
230-
runs-on: windows-2025
232+
runs-on: windows-2022
231233
defaults:
232234
run:
233235
shell: cmd

‎.github/workflows/cache_nvidia_deps.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
cache-deps:
11-
runs-on: windows-2025
11+
runs-on: windows-2022
1212
strategy:
1313
matrix:
1414
include:

0 commit comments

Comments
 (0)