File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed
Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 2929 git \
3030 libvulkan-dev \
3131 vulkan-tools \
32- glslang-tools \
32+ shaderc \
3333 libx11-dev \
3434 libxrandr-dev \
3535 libxi-dev \
@@ -74,11 +74,19 @@ jobs:
7474 with :
7575 submodules : recursive
7676
77- - name : Install Vulkan SDK
78- uses : humbletim/install-vulkan-sdk@v1.1.1
79- with :
80- version : latest
81- cache : true
77+ - name : Install Vulkan SDK (Windows)
78+ shell : pwsh
79+ run : |
80+ $version = "1.3.296.0"
81+ $url = "https://sdk.lunarg.com/sdk/download/$version/windows/VulkanSDK-$version-Installer.exe"
82+ $installer = "$env:TEMP\VulkanSDK.exe"
83+ Write-Host "Downloading Vulkan SDK $version..."
84+ Invoke-WebRequest -Uri $url -OutFile $installer
85+ Write-Host "Installing Vulkan SDK..."
86+ Start-Process -FilePath $installer -ArgumentList "--accept-licenses --default-answer --confirm-command install" -Wait
87+ $sdkPath = "C:\VulkanSDK\$version"
88+ echo "VULKAN_SDK=$sdkPath" >> $env:GITHUB_ENV
89+ echo "$sdkPath\Bin" >> $env:GITHUB_PATH
8290
8391 - name : Configure CMake (Windows)
8492 run : |
92100 cmake --build . --config Release
93101
94102 - name : Zip Windows executable and shaders
103+ shell : pwsh
95104 run : |
96105 $exe = "build\Release\game.exe"
97106 $shaders = "build\Release\shaders"
@@ -120,7 +129,7 @@ jobs:
120129 - name : Checkout code
121130 uses : actions/checkout@v4
122131 with :
123- fetch-depth : 0 # needed to see all tags
132+ fetch-depth : 0
124133
125134 - name : Download Linux artifact
126135 uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments