Skip to content

Commit 246d63f

Browse files
committed
Switch to a subset of the vulkan SDK.
1 parent 3ffb204 commit 246d63f

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.appveyor.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ image: Visual Studio 2017
33

44

55
environment:
6-
VULKAN_SDK: c:\VulkanSDK\1.1.106.0
7-
VKSDKURL: https://sdk.lunarg.com/sdk/download/1.1.106.0/windows/VulkanSDK-1.1.106.0-Installer.exe
8-
VKSDKINSTALLER: c:\tools\vksdk1.1.106.0.exe
6+
VULKAN_SDK: c:\VulkanSDK\1.1.114.0
7+
VKSDKURL: https://people.collabora.com/~rpavlik/ci_resources/vksdk-1.1.114.0-lite.7z
8+
VKSDKPKG: c:\VulkanSDK\vksdk-1.1.114.0-lite.7z
99
matrix:
1010
# 32-bit
1111
- VCVARS: vcvarsamd64_x86
@@ -22,26 +22,28 @@ shallow_clone: true # default is "false"
2222

2323

2424
cache:
25-
- c:\VulkanSDK\1.1.106.0
25+
- c:\VulkanSDK\1.1.114.0
2626
install:
2727
- choco install -y ninja
2828
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
29-
# Download and install Vulkan SDK if not cached - the "Start-Process" is to not continue until install is done
29+
# Download and extract a stripped-down Vulkan SDK if not cached - the "Start-Process" is to not continue until extraction is done
3030
- ps: >-
3131
if (-not (Test-Path "$env:VULKAN_SDK/Include/vulkan/vulkan.h")) {
32+
mkdir c:\VulkanSDK
3233
$wc = New-Object System.Net.WebClient
33-
$wc.DownloadFile($env:VKSDKURL, $env:VKSDKINSTALLER)
34-
Start-Process $env:VKSDKINSTALLER -ArgumentList "/S" -Wait }
34+
$wc.DownloadFile($env:VKSDKURL, $env:VKSDKPKG)
35+
Start-Process "c:\Program Files\7-Zip\7z" -ArgumentList "x", $env:VKSDKPKG, "-oC:\VulkanSDK" -Wait
36+
}
3537
3638
# for future use if we need vcpkg
3739
# -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake
3840

3941
build_script:
4042
- cmd: >-
4143
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\%VCVARS%.bat" &&
42-
cmake -GNinja -Bbuild -H. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPYTHON_EXECUTABLE=C:/Python37-x64/python.exe &&
44+
cmake -GNinja -Bbuild -H. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPYTHON_EXECUTABLE=C:/Python37-x64/python.exe -DBUILD_ALL_EXTENSIONS=ON &&
4345
ninja -C build
4446
- cmd: >-
4547
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\%VCVARS%.bat" &&
46-
cmake -GNinja -Bbuild -H. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DDYNAMIC_LOADER=ON -DPYTHON_EXECUTABLE=C:/Python37-x64/python.exe &&
48+
cmake -GNinja -Bbuild -H. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DDYNAMIC_LOADER=ON -DPYTHON_EXECUTABLE=C:/Python37-x64/python.exe -DBUILD_ALL_EXTENSIONS=ON &&
4749
ninja -C build

0 commit comments

Comments
 (0)