From ff06717e3de64eaa2aa3818b6193bc242558d0b3 Mon Sep 17 00:00:00 2001 From: N3xoX1 Date: Tue, 25 Mar 2025 16:32:57 +1030 Subject: [PATCH] get appveyor to install vulkanSdk --- appveyor.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index e6dbd415..d560d079 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,6 +5,23 @@ platform: configuration: - Release +install: + # Install Vulkan SDK + - ps: | + $vulkanSdkUrl = "https://sdk.lunarg.com/sdk/download/1.3.268.0/windows/VulkanSDK-1.3.268.0-Installer.exe" + $vulkanInstaller = "$env:TEMP\VulkanSDK-Installer.exe" + Invoke-WebRequest -Uri $vulkanSdkUrl -OutFile $vulkanInstaller + Start-Process -FilePath $vulkanInstaller -ArgumentList "/S" -Wait + $env:VULKAN_SDK = "C:\VulkanSDK\1.3.268.0" + $env:PATH = "$env:VULKAN_SDK\Bin;$env:PATH" + # Verify installation + if (Test-Path "$env:VULKAN_SDK\Bin\glslangValidator.exe") { + Write-Host "Vulkan SDK installed successfully" + } else { + Write-Error "Vulkan SDK installation failed" + exit 1 + } + before_build: - ps: >- If ($env:APPVEYOR_BUILD_VERSION -Like "1.0*") {