mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-16 16:21:03 +00:00
Vulkan SDK Mirror
Setup Mirror for Vulkan SDK executable. Let's not be assholes and append ?Human=True to the link cause we might get ourselves put on a blacklist if we keeep using it after the requirement stops. If the mirror is down it will fail back to lunar cdn.
This commit is contained in:
parent
c09c792636
commit
fed94e3823
22
appveyor.yml
22
appveyor.yml
@ -9,7 +9,8 @@ environment:
|
||||
GLSLANG: https://drive.google.com/uc?export=download&id=1A2eOMmCO714i0U7J0qI4aEMKnuWl8l_R
|
||||
COMPATDB: https://rpcs3.net/compatibility?api=v1&export
|
||||
VULKAN_SDK: "C:\\VulkanSDK\\1.1.73.0"
|
||||
VULKAN_SDK_URL: https://sdk.lunarg.com/sdk/download/1.1.73.0/windows/VulkanSDK-1.1.73.0-Installer.exe?Human=true
|
||||
VULKAN_SDK_URL: https://sdk.lunarg.com/sdk/download/1.1.73.0/windows/VulkanSDK-1.1.73.0-Installer.exe
|
||||
VULKAN_SDK_MIRROR: https://obk.ee/rpcs3/VulkanSDK-1.1.73.0-Installer.exe
|
||||
|
||||
cache:
|
||||
- glslang.7z -> appveyor.yml
|
||||
@ -70,7 +71,24 @@ before_build:
|
||||
if (!(test-path glslang.7z)) { irm $env:GLSLANG -outfile glslang.7z }
|
||||
7z x llvmlibs.7z -aos -o"." | out-null
|
||||
7z x glslang.7z -aos -o".\lib\$env:CONFIGURATION-$env:PLATFORM" | out-null
|
||||
if (!(test-path vulkan-sdk.exe)) { irm $env:VULKAN_SDK_URL -outfile vulkan-sdk.exe }
|
||||
if (!(test-path vulkan-sdk.exe))
|
||||
{
|
||||
Try
|
||||
{
|
||||
irm $env:VULKAN_SDK_MIRROR -outfile vulkan-sdk.exe
|
||||
}
|
||||
Catch
|
||||
{
|
||||
Try
|
||||
{
|
||||
irm $env:VULKAN_SDK_URL -outfile vulkan-sdk.exe
|
||||
}
|
||||
Catch
|
||||
{
|
||||
irm "$($env:VULKAN_SDK_URL)?Human=true" -outfile vulkan-sdk.exe
|
||||
}
|
||||
}
|
||||
}
|
||||
.\vulkan-sdk.exe /S
|
||||
|
||||
after_build:
|
||||
|
Loading…
Reference in New Issue
Block a user