File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -417,22 +417,21 @@ jobs:
417
417
id : cache_vulkan_sdk
418
418
uses : actions/cache@v4
419
419
with :
420
- path : /tmp /vulkan_sdk/${{ env.VULKAN_SDK_VERSION }}
420
+ path : . /vulkan_sdk/${{ env.VULKAN_SDK_VERSION }}
421
421
key : vulkan-sdk-${{ env.VULKAN_SDK_VERSION }}-${{ runner.os }}
422
422
423
423
- name : Install Vulkan SDK
424
424
if : steps.cache_vulkan_sdk.outputs.cache-hit != 'true'
425
425
id : vulkan_sdk_install
426
426
run : |
427
- mkdir -p /tmp/vulkan_sdk
428
- cd /tmp/vulkan_sdk
429
- wget https://sdk.lunarg.com/sdk/download/${VULKAN_SDK_VERSION}/linux/vulkan_sdk.tar.xz
430
- tar -xf vulkan_sdk.tar.xz
427
+ mkdir -p vulkan_sdk
428
+ cd vulkan_sdk
429
+ curl --no-progress-meter https://sdk.lunarg.com/sdk/download/latest/linux/vulkan_sdk.tar.xz | tar -Jx --strip-components=1
431
430
432
431
- name : Build
433
432
id : cmake_build
434
433
run : |
435
- source /tmp/ vulkan_sdk/${VULKAN_SDK_VERSION} /setup-env.sh
434
+ source ./ vulkan_sdk/setup-env.sh
436
435
cmake -B build \
437
436
-DGGML_VULKAN=ON
438
437
cmake --build build --config Release -j $(nproc)
You can’t perform that action at this time.
0 commit comments