ref_vk: use more official method of geting vulkan sdk on windows

This commit is contained in:
Ivan Avdeev 2021-06-07 00:15:40 -07:00
parent 931de39f23
commit 762a29c535
2 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,8 @@
. scripts/lib.sh
export VULKAN_SDK=C:/VulkanSDK/$VULKAN_SDK_VERSION
# Build engine
cd $TRAVIS_BUILD_DIR

View File

@ -3,5 +3,7 @@ curl http://libsdl.org/release/SDL2-devel-$SDL_VERSION-VC.zip -o SDL2.zip
unzip -q SDL2.zip
mv SDL2-$SDL_VERSION SDL2_VC
curl -L --show-error --output VulkanSDK.exe https://vulkan.lunarg.com/sdk/download/$VULKAN_SDK_VERSION/windows/VulkanSDK-$VULKAN_SDK_VERSION-Installer.exe?Human=true
runas /user:administrator VulkanSDK.exe /S
curl -L --show-error --output vulkan_sdk.exe https://vulkan.lunarg.com/sdk/download/$VULKAN_SDK_VERSION/windows/vulkan_sdk.exe
echo "Installing Vulkan SDK $VULKAN_SDK_VERSION"
runas /user:administrator vulkan_sdk.exe /S
echo "Installed"