mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-24 06:46:37 +00:00
fix: add vulkan runtime to ci test
This commit is contained in:
parent
3641831fd6
commit
613f938ecf
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -66,6 +66,12 @@ jobs:
|
|||||||
.\vulkan.exe --root C:\vulkan --accept-licenses --default-answer --confirm-command install
|
.\vulkan.exe --root C:\vulkan --accept-licenses --default-answer --confirm-command install
|
||||||
echo "VULKAN_SDK=C:\vulkan" >> $env:GITHUB_ENV
|
echo "VULKAN_SDK=C:\vulkan" >> $env:GITHUB_ENV
|
||||||
Copy-Item -Path "C:\vulkan\Bin\*.dll" -Destination "." -Recurse
|
Copy-Item -Path "C:\vulkan\Bin\*.dll" -Destination "." -Recurse
|
||||||
|
|
||||||
|
# Add Vulkan runtime DLL to PATH
|
||||||
|
C:\msys64\usr\bin\wget https://sdk.lunarg.com/sdk/download/1.3.290.0/windows/VulkanRT-1.3.290.0-Components.zip -O vulkan_components.exe
|
||||||
|
7z x vulkan_components.exe
|
||||||
|
echo "$pwd\VulkanRT-1.3.290.0-Components\x64" | Out-File -FilePath $env:GITHUB_PATH -Append
|
||||||
|
|
||||||
if: ${{ contains(matrix.platform, 'windows') && contains(matrix.cmake-args, 'DGGML_VULKAN=ON') }}
|
if: ${{ contains(matrix.platform, 'windows') && contains(matrix.cmake-args, 'DGGML_VULKAN=ON') }}
|
||||||
|
|
||||||
- name: Prepare Vulkan SDK for Linux
|
- name: Prepare Vulkan SDK for Linux
|
||||||
|
Loading…
Reference in New Issue
Block a user