Repository navigation
CI: migrate Windows build to Visual Studio 2026 (windows-2025) - #9514
Conversation
GitHub Actions' windows-2025 / windows-latest images moved to Visual Studio 2026 (MSVC v145) in June 2026, removing VS2022. windows-2022 now also maps to that image, so pinning it no longer helps and the hardcoded "Visual Studio 17 2022" contrib generator fails with "could not find any instance of Visual Studio", breaking the nightly full CI. - Bump contrib submodule to pick up the "Visual Studio 18 2026" generator support (OpenMS/contrib#184). - dependencies action: build contrib with -G"Visual Studio 18 2026" (runner CMake is >=4.3, which the VS18 generator requires). - full CI matrix: run the Windows job on windows-2025; refresh the compiler_ver (14.51 / v145) used for the ccache key and build name. Qt stays on win64_msvc2022_64 (no msvc2026 build exists; ABI-compatible with v145). The OpenMS build itself uses Ninja + the VS shell, which now picks up cl.exe v145 automatically. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
@timosachsenberg The following names might be missing from the
Please consider applying the following patch: --- AUTHORS 2026-06-15 06:35:42.650948985 +0000
+++ AUTHORS.new 2026-06-15 06:35:47.688433213 +0000
@@ -22,8 +22,8 @@
- Chirag Dave
- Chris Bauer
- Chris Bielow
- - Christie Mathews
- Christian Ehrlich
+ - Christie Mathews
- Clemens Groepl
- Cornelia Friedle
- Daniel Jameson |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe Windows CI configuration is upgraded from ChangesWindows CI Upgrade to VS2026
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@contrib`:
- Line 1: The contrib submodule is referencing commit hash
1d341d717ddd7e4911558ca708cb8699cf1cdbdd which cannot be verified in the public
OpenMS/contrib repository. Verify that the commit hash is correct and has been
pushed to the OpenMS/contrib repository by checking the commit exists in the
public repository. If the commit is correct, confirm that PR `#184` (VS2026
generator support) has been properly merged into the contrib repository. If the
commit hash or PR number is incorrect, update the submodule reference to point
to the correct verified revision in the OpenMS/contrib repository to prevent CI
failures during submodule checkout.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 5aa4c2da-ca56-4a42-b5a9-a91b4b606cd2
📒 Files selected for processing (3)
.github/actions/dependencies/action.yml.github/workflows/openms_ci_matrix_full.ymlcontrib
Advances contrib from 1d341d7 to a867776 (OpenMS/contrib#184, all platforms green), which additionally builds Boost via its CMake superproject on Windows (the b2 engine bootstrap cannot target the VS2026 / vc145 toolset). Lets this PR's Windows job exercise the complete contrib build on windows-2025. Co-Authored-By: Claude Opus 4.8 <[email protected]>
… hang) On the windows-2025 (Server 2025 / VS2026) image, the chocolatey 'ghostscript' package's installer (gs10071w64.exe) hangs for the full 2700s execution timeout and fails the job in the dependencies step -- before OpenMS is even built. (Seen on PR OpenMS#9514's windows job: contrib built fine, then the deps step died on Ghostscript.) Move ghostscript to the conda-forge install alongside doxygen (which was moved earlier for the same class of choco unreliability). conda-forge ships it into Library/bin, already on PATH, so the docs build (enable_docs=ON) still finds it. Co-Authored-By: Claude Opus 4.8 <[email protected]>
contrib's ci-vs2026-migration was rebased onto current contrib/master (integrating the concurrent Arrow debug-build, cmake-minimum 3.26 and Boost.filesystem fixes) and squashed to two commits; bump the submodule from the pre-rebase a867776 to the rebased tip 7504732. The Windows full-Boost build already installs filesystem, so the new Boost.filesystem requirement is covered. Co-Authored-By: Claude Opus 4.8 <[email protected]>
contrib#184 was squash-merged; advance the submodule from the PR-branch commit 7504732 to the resulting master commit e127dea (identical tree). This makes the submodule reference contrib/master rather than the now-merged PR branch. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Add entries for all substantive non-test PRs merged since the last changelog update: - #9623 ThermoRawFile full mzML metadata extraction + polarity fix - #9602 New FileInfo library class usable from C++ and pyOpenMS - #9521 IMAGING multi-region support (add missing PR reference) - #9620 Deisotoper::isToleranceSupported + ProSE/SSE crash fix on low-res data - #9610 DistanceMatrix::setValue cached-minimum guard fix - #9497 DistanceMatrix::operator==, ClusteringGrid, File path guard fixes - #9583 LogStreamBuf thread-safety fix - #9514 CI Windows migration to Visual Studio 2026 Claude-Session: https://claude.ai/code/session_01YLg6pWyjyTxpWAU6mgrDzC Co-authored-by: Claude <[email protected]>
Why
GitHub Actions'
windows-2025/windows-latestrunner images migrated to Visual Studio 2026 (MSVC v145) during June 2026, and VS2022 is no longer installed.windows-2022now also resolves to that VS2026 image, so the previous pin (#9506) no longer helps. The hardcoded-G"Visual Studio 17 2022"in the contrib build step fails immediately:This broke the nightly
openms-ci-fullrun.What
This repo:
windows-2025.-G"Visual Studio 18 2026"(the runner ships CMake ≥ 4.3, which the VS18 generator requires).compiler_verto14.51(v145) — on Windows this only feeds the ccache key / build name (the compiler iscl.exefrom the VS shell), and bumping it forces a clean rebuild on the new toolchain.Depends on OpenMS/contrib#184 (generator guard accepts
Visual Studio 18 2026; CoinMPv17solution reused withPlatformToolsetretargeted to v145). The submodule currently points at that PR's branch commit so this PR's CI can be validated; it should be re-pointed to the contribmasterSHA once #184 merges.Notes
win64_msvc2022_64— Qt 6.8.3 ships no msvc2026 build and the v14x ABI is binary compatible with v145.egor-tensin/vs-shell), which picks upcl.exev145 automatically — no generator change needed there.windows-latestwith Ninja and downloads a prebuilt contrib, so it is unaffected.🤖 Generated with Claude Code
Summary by CodeRabbit