File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,25 @@ jobs:
4444 - name : Dependencies
4545 if : runner.os == 'Linux'
4646 run : |
47- wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
48- sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-noble.list http://packages.lunarg.com/vulkan/lunarg-vulkan-noble.list
49- sudo apt update
50- sudo apt install vulkan-sdk
47+ SDK_VERSION=$(curl -s https://vulkan.lunarg.com/sdk/latest/linux.txt)
48+ curl -O https://sdk.lunarg.com/sdk/download/${SDK_VERSION}/linux/vulkan_sdk.tar.xz
49+ tar -xf vulkan_sdk.tar.xz
50+ ./vulkan_sdk/install.sh
51+
52+ - name : Dependencies
53+ if : runner.os == 'macOS'
54+ run : |
55+ SDK_VERSION=$(curl -s https://vulkan.lunarg.com/sdk/latest/mac.txt)
56+ curl -O https://sdk.lunarg.com/sdk/download/${SDK_VERSION}/mac/vulkan_sdk.zip
57+ unzip vulkan_sdk.zip
58+ ./vulkan_sdk/install.sh
59+
60+ - name : Dependencies
61+ if : runner.os == 'Windows'
62+ run : |
63+ $SDK_VERSION = Invoke-RestMethod -Uri https://vulkan.lunarg.com/sdk/latest/windows.txt
64+ Invoke-WebRequest -Uri https://sdk.lunarg.com/sdk/download/$SDK_VERSION/windows/vulkan_sdk.exe -OutFile vulkan_sdk.exe
65+ Start-Process -FilePath vulkan_sdk.exe -ArgumentList "/S" -Wait
5166
5267 - run : cargo build --verbose --workspace --all-targets --all-features
5368 - run : cargo check --verbose --workspace --all-targets --all-features
You can’t perform that action at this time.
0 commit comments