ci: build and test the libraries with MSVC #78
Labels
No labels
accessibility
bug
ci
docs
documentation
duplicate
enhancement
fixes issue
good first issue
help wanted
invalid
library request
libs
needs rebase
question
relinker
stale
tools
unblocks title
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Dark3581--AnyBox#78
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@CaseReed on GitHub · 2026-11-23 08:22 UTC · original
What
Adds a
windows-msvcjob to the Build workflow, as agreed in the review of #38: it configures, builds and runs CTest with MSVC next to the existing MinGW job, so a change that only breaks MSVC (as #43 did) fails on the pull request instead of onmain.windows-2022, pinned on purpose.windows-2025currently resolves to thewindows-2025-vs2026image and compiles with MSVC 19.52 (Visual Studio 2026);docs/dev/BUILD.mddocuments MSVC 2022, and the breaks fixed in #38 and #45 were Visual Studio 2022 ones.ilammy/msvc-dev-cmd@v1opens the x64 developer environment (a third-party action, likemsys2/setup-msys2); Ninja and CMake come from the image.jsonschema, as in therelinkerjob, so the Python-driven tests run instead of being skipped.windowsjob and its artifact are unchanged.CONTRIBUTING.md: the CI line now says the Windows build runs with MinGW and with MSVC.The job only gates merges once
windows-msvcis added to the required checks, ifmainuses them.Tested
On my fork, same commit content,
workflow_dispatchon the branch: https://github.com/CaseReed/AnyBox/actions/runs/45122015586windows-msvc: imagewindows-2022, MSVC 19.44.35230, Windows SDK 10.0.26100 (soab_gameinput.dlllinks). Full build, CTest 73/73 passed withpipeline_probeskipped, the same count and the same skip as the MinGW job. About 2 min 30, the same as the MinGW job.windows,relinker (ubuntu-latest),relinker (macos-latest): still pass.windows-2025also passed, with MSVC 19.52: https://github.com/CaseReed/AnyBox/actions/runs/45121660644mainbuilds and passes 73/73 with Visual Studio 2022 (MSVC 19.38);python tools/check_conventions.pyandpython tools/debt_fold.py --checkpass.Not tested: that the job turns red on a real MSVC-only regression (no deliberate break was pushed); it relies on #38 and #45 having failed with this compiler family. The Node 20 deprecation warning shown for
actions/checkout@v4andactions/setup-python@v5is left alone, since the rest of the file uses the same versions.Self-review: an independent pass over the diff (what the MSVC build needs from CMake, the concurrency group, other workflows that reference job names, the commit rules) found the Visual Studio 2026 image issue above, fixed before opening this PR, and nothing else.
Checklist
main; no other open PR implements the same functionspython tools/check_conventions.pypasses (no comments in code, one declaration per export, Conventional Commit subjects)AbxNotImplemented/AbxUnsupported); silent stubs are listed under Silent stubs through a debt fragment (no code changed)docs/dev/debt/changes/<branch>.md(none changed)🤖 Generated with Claude Code
Pull request details or commits were not available from GitHub; kept as an issue.