Skip to content

CI: Pin Windows runners to windows-2022#1156

Open
wooksong wants to merge 1 commit into
BehaviorTree:masterfrom
wooksong:ci/fix-windows-vs2026
Open

CI: Pin Windows runners to windows-2022#1156
wooksong wants to merge 1 commit into
BehaviorTree:masterfrom
wooksong:ci/fix-windows-vs2026

Conversation

@wooksong

@wooksong wooksong commented Jul 1, 2026

Copy link
Copy Markdown

Problem

windows-latest GitHub-hosted runners have been upgraded to Visual Studio 2026 (MSVC 19.5). This breaks both Windows CI jobs on every current PR:

  • cmake Windows (Debug & Release) — conan profile detect selects msvc 195, so Conan asks CMake for the Visual Studio 18 2026 generator, which the installed CMake cannot create. The vendored foonathan-lexy dependency fails to build:
    CMake Error: Could not create named generator Visual Studio 18 2026
    
  • Pixi (conda) (windows) — cmake .. defaults to the Visual Studio 17 2022 generator, which is no longer present:
    Generator Visual Studio 17 2022 could not find any instance of Visual Studio.
    
  • Pixi (conda) (ubuntu) was not actually broken — it was cancelled by fail-fast when the Windows leg died.

This is an environment regression, not a code change: the same failures currently hit #1152, #1154, and #1155, while older PRs (#1145, #1146) passed. master last ran these jobs green on 2026-05-19, before the runner upgrade.

Fix

  • Pin both Windows jobs to windows-2022 (VS 2022 / MSVC 19.3x), a CMake + generator combo that both Conan and pixi already work with.
  • Set fail-fast: false on the pixi matrix so a Windows failure no longer masks the ubuntu leg's real status.

This unblocks the currently-red PRs (#1152, #1154, #1155). A forward-looking follow-up could instead make the build VS 2026-compatible (newer CMake / force the Ninja generator), but pinning restores green CI reliably today.

Note

The ros2-rolling failure seen on recent PRs is a separate, transient ROS Rolling apt-repo outage (Unable to locate package ros-rolling-ros-environment) and is not addressed here — it clears on re-run.

…ilds)

GitHub's `windows-latest` image now ships Visual Studio 2026 (MSVC 19.5),
which breaks both Windows CI jobs:

- `cmake Windows`: `conan profile detect` selects msvc 195, so Conan asks
  CMake for the "Visual Studio 18 2026" generator, which the installed
  CMake cannot create. The vendored foonathan-lexy dependency fails to
  build with "Could not create named generator Visual Studio 18 2026".

- `Pixi (conda)`: `cmake ..` defaults to the "Visual Studio 17 2022"
  generator, which is no longer present ("could not find any instance of
  Visual Studio").

Pin both jobs to windows-2022 (VS 2022 / MSVC 19.3x) to restore green CI.
Also set fail-fast: false on the pixi matrix so the ubuntu leg is no
longer masked by a Windows failure.
@wooksong wooksong changed the title CI: Pin Windows runners to windows-2022 (Visual Studio 2026 breaks Conan/pixi builds) CI: Pin Windows runners to windows-2022 Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant