Skip to content

Commit 8edacab

Browse files
JSKittyclaude
andcommitted
ci: pin Windows release job to windows-2022 (VS 2022)
GitHub's windows-latest image rolled forward to Visual Studio 18 (2026, MSVC 14.51), which the pinned `cmake` 0.1.54 crate doesn't recognize. The whisper-rs-sys cmake build of whisper.cpp then panics ("Visual studio version detected but this crate doesn't know how to generate cmake files for it"), failing the Windows release job. Pin to windows-2022 (VS 2022), the known-good environment past Windows releases built on; updated the two `if: matrix.platform` guards to match. Revisit windows-latest once the cmake crate gains VS 18 support. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 57f28e9 commit 8edacab

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
args: '--target x86_64-apple-darwin'
2222
- platform: 'ubuntu-22.04'
2323
args: ''
24-
- platform: 'windows-latest'
24+
- platform: 'windows-2022'
2525
args: ''
2626

2727
runs-on: ${{ matrix.platform }}
@@ -51,7 +51,7 @@ jobs:
5151
sudo apt-get install -y vulkan-sdk
5252
5353
- name: Install Vulkan SDK and OpenSSL (Windows)
54-
if: matrix.platform == 'windows-latest'
54+
if: matrix.platform == 'windows-2022'
5555
run: |
5656
Write-Host "Installing Vulkan components..."
5757
@@ -85,7 +85,7 @@ jobs:
8585
& "$vcpkgBin\glslc.exe" --version
8686
8787
- name: Shorten cargo target dir (Windows)
88-
if: matrix.platform == 'windows-latest'
88+
if: matrix.platform == 'windows-2022'
8989
shell: pwsh
9090
run: echo "CARGO_TARGET_DIR=C:\cargo-target" >> $env:GITHUB_ENV
9191

0 commit comments

Comments
 (0)