Fix Windows CI for MSVC 195 on windows-latest
Some checks failed
Windows Release / windows-x86_64 (push) Has been cancelled

Generate a win-ci Conan host profile from the runner-detected MSVC
version instead of pinning 194 (VS 17), which is missing on current
GitHub-hosted images.
This commit is contained in:
copilot 2026-10-04 20:18:33 +02:00
parent c33392db5b
commit 97b136de3b
3 changed files with 59 additions and 7 deletions

View file

@ -13,10 +13,14 @@ File: `.github/workflows/windows_release.yml`
| | |
|---|---|
| Trigger | every push to `main`, plus `workflow_dispatch` |
| Runner | `windows-latest` (GitHub-hosted) |
| Build | `windowsinstall/conan_init_x86_64.bat` + `build_x86_64.bat` |
| Runner | `windows-latest` (GitHub-hosted, MSVC ~195) |
| Build | Conan profile `win-ci` (detected) + `windowsinstall/build_x86_64.bat` |
| Output | prerelease tag **`windows-continuous`** with a portable zip |
Local Tower Windows can keep using `windowsinstall/conan_init_x86_64.bat`
(`conan/profiles/win-x86_64`, MSVC 194). CI generates a `win-ci` profile for
whatever MSVC `windows-latest` ships.
## GitHub remote
Recommended remote name: `github`