Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,26 +53,24 @@ jobs:
- name: Install Vulkan SDK (Windows)
if: matrix.platform == 'windows-latest'
run: |
Write-Host "Downloading Vulkan runtime and tools..."
# Create directories
New-Item -ItemType Directory -Force -Path "C:\VulkanSDK"
Write-Host "Installing Vulkan components..."

# Download pre-built glslc directly from Google's shaderc
Invoke-WebRequest -Uri "https://storage.googleapis.com/shaderc/artifacts/prod/graphics_shader_compiler/shaderc/windows/continuous_release_2022/433/20221215-134414/install.zip" -OutFile "shaderc.zip"
Expand-Archive -Path "shaderc.zip" -DestinationPath "C:\VulkanSDK\shaderc"
# Use chocolatey to get glslc/shaderc tools
choco install shaderc -y

# Download Vulkan runtime
Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/latest/windows/vulkan-runtime-components.zip" -OutFile "vulkan-runtime.zip"
Expand-Archive -Path "vulkan-runtime.zip" -DestinationPath "C:\VulkanSDK\runtime"
# Download Vulkan SDK headers and libraries manually
$vulkanVersion = "1.3.261.1"
Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/$vulkanVersion/windows/VulkanSDK-$vulkanVersion-Installer.exe" -OutFile "VulkanSDK.exe"

# Extract without installing (to avoid hang)
Start-Process -FilePath "VulkanSDK.exe" -ArgumentList "/S", "/D=C:\VulkanSDK" -NoNewWindow -Wait -TimeoutSec 30

# Set environment variables
echo "VULKAN_SDK=C:\VulkanSDK" >> $env:GITHUB_ENV
echo "C:\VulkanSDK\shaderc\install\bin" >> $env:GITHUB_PATH
echo "C:\VulkanSDK\runtime\Bin" >> $env:GITHUB_PATH
echo "C:\VulkanSDK\Bin" >> $env:GITHUB_PATH

# Verify glslc is available
Write-Host "Checking for glslc..."
& "C:\VulkanSDK\shaderc\install\bin\glslc.exe" --version
# Verify glslc from chocolatey
where glslc

- name: install frontend dependencies
run: npm install
Expand Down