summaryrefslogtreecommitdiff
path: root/llama.cpp/.github/actions/linux-setup-vulkan/action.yml
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/.github/actions/linux-setup-vulkan/action.yml')
-rw-r--r--llama.cpp/.github/actions/linux-setup-vulkan/action.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/llama.cpp/.github/actions/linux-setup-vulkan/action.yml b/llama.cpp/.github/actions/linux-setup-vulkan/action.yml
new file mode 100644
index 0000000..4d29837
--- /dev/null
+++ b/llama.cpp/.github/actions/linux-setup-vulkan/action.yml
@@ -0,0 +1,20 @@
+name: "Linux - Setup Vulkan SDK"
+description: "Setup Vulkan SDK for Linux"
+inputs:
+ path:
+ description: "Installation path"
+ required: true
+ version:
+ description: "Vulkan SDK version"
+ required: true
+
+runs:
+ using: "composite"
+ steps:
+ - name: Setup Vulkan SDK
+ id: setup
+ uses: ./.github/actions/unarchive-tar
+ with:
+ url: https://sdk.lunarg.com/sdk/download/${{ inputs.version }}/linux/vulkan_sdk.tar.xz
+ path: ${{ inputs.path }}
+ strip: 1