Skip to content

Commit b99c678

Browse files
committed
fix(ci): use Vulkan SDK 1.4.313.2 via LunarG installer for Windows Vulkan build
The Windows Vulkan whisper-server build failed at configure with 'Could not find a package configuration file provided by SPIRV-Headers'. ggml-vulkan does find_package(SPIRV-Headers CONFIG REQUIRED); the jakoch action's SDK 1.3.290.0 install does not ship SPIRV-HeadersConfig.cmake. Switch to llama.cpp's proven recipe: install SDK 1.4.313.2 via the direct LunarG installer (full default install), which provides the SPIRV-Headers CMake config. Also self-busts the version-keyed SDK cache.
1 parent 5fd5e34 commit b99c678

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/build-binaries.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -561,12 +561,15 @@ jobs:
561561
uses: ilammy/msvc-dev-cmd@v1
562562

563563
- name: Install Vulkan SDK
564-
uses: jakoch/install-vulkan-sdk-action@v1.2.0
565-
with:
566-
vulkan_version: 1.3.290.0
567-
install_runtime: true
568-
cache: true
569-
stripdown: true
564+
shell: pwsh
565+
# SDK 1.4.313.2 ships SPIRV-HeadersConfig.cmake, which ggml-vulkan's
566+
# find_package(SPIRV-Headers CONFIG REQUIRED) needs; 1.3.290.0 did not.
567+
# Matches llama.cpp's proven Windows Vulkan recipe (direct LunarG installer).
568+
run: |
569+
curl.exe -o "$env:RUNNER_TEMP/VulkanSDK-Installer.exe" -L "https://sdk.lunarg.com/sdk/download/1.4.313.2/windows/vulkansdk-windows-X64-1.4.313.2.exe"
570+
& "$env:RUNNER_TEMP\VulkanSDK-Installer.exe" --accept-licenses --default-answer --confirm-command install
571+
Add-Content $env:GITHUB_ENV "VULKAN_SDK=C:\VulkanSDK\1.4.313.2"
572+
Add-Content $env:GITHUB_PATH "C:\VulkanSDK\1.4.313.2\Bin"
570573
571574
- name: Verify Vulkan SDK
572575
shell: pwsh

0 commit comments

Comments
 (0)