Skip to content

Commit 5ff71cf

Browse files
committed
Pin Windows CUDA CI job to windows-2022
The windows-latest runner image now ships Visual Studio 2026, whose host compiler is rejected by CUDA 12.4's nvcc (only VS 2017-2022 are supported), breaking CMake's CUDA compiler detection at configure time. Pin the CUDA Windows build to windows-2022 until the toolchain catches up. The non-CUDA Windows job stays on windows-latest. Signed-off-by: Gary Oberbrunner <garyo@darkstarsystems.com>
1 parent 3e6f27f commit 5ff71cf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ jobs:
147147
- name_prefix: Windows
148148
release_prefix: windows
149149
ostype: windows
150-
os: windows-latest
150+
# Pin to VS2022; CUDA 12.4 nvcc rejects the VS2026 host compiler
151+
# shipped on windows-latest. See host_config.h version check.
152+
os: windows-2022
151153
has_cmake_presets: true
152154
buildtype: Release
153155
conan_version: 2.20.1

0 commit comments

Comments
 (0)