Skip to content

Commit 5828779

Browse files
committed
fix: Vulkan Ubuntu build
1 parent 82d8ee4 commit 5828779

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,12 @@ jobs:
184184
# export VULKAN_VERSION="$(curl -fsSL https://vulkan.lunarg.com/sdk/latest/linux.txt)"
185185
# echo "Downloading Vulkan SDK version ${VULKAN_VERSION}"
186186
187-
sudo apt update
188-
sudo apt install xz-utils
187+
sudo apt-get update
188+
sudo apt-get install xz-utils
189+
curl --no-progress-meter "https://sdk.lunarg.com/sdk/download/${VULKAN_VERSION}/linux/vulkan_sdk.tar.xz" -o "/opt/vulkan-sdk.tar.xz"
189190
mkdir -p "/opt/vulkan-sdk"
190-
curl --no-progress-meter "https://sdk.lunarg.com/sdk/download/${VULKAN_VERSION}/linux/vulkan_sdk.tar.xz" | tar -Jx --strip-components=1 -C "/opt/vulkan-sdk"
191+
tar -Jxf "/opt/vulkan-sdk.tar.xz" --strip-components=1 -C "/opt/vulkan-sdk"
192+
rm -f "/opt/vulkan-sdk.tar.xz"
191193
echo "VULKAN_SDK=/opt/vulkan-sdk/x86_64" >> $GITHUB_ENV
192194
echo "/opt/vulkan-sdk/x86_64/bin" >> $GITHUB_PATH
193195

0 commit comments

Comments
 (0)