The OpenCL SDK CI currently downloads and installs the Vulkan SDK somewhat manually:
|
VULKAN_SDK_URL: https://sdk.lunarg.com/sdk/download/1.3.261.1/windows/VulkanSDK-1.3.261.1-Installer.exe |
|
VULKAN_SDK: C:/VulkanSDK/1.3.261.1 |
|
- name: Install samples dependencies |
|
run: | |
|
Invoke-WebRequest ${env:VULKAN_SDK_URL} -OutFile vulkan-sdk-installer.exe |
|
.\vulkan-sdk-installer.exe --accept-licenses --default-answer --confirm-command install com.lunarg.vulkan.32bit |
|
Remove-Item vulkan-sdk-installer.exe |
|
if ('${{ matrix.BIN }}' -eq 'x64') |
|
{ |
|
echo "Vulkan_LIB_DIR=$env:VULKAN_SDK/Lib" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append |
|
} else { |
|
echo "Vulkan_LIB_DIR=$env:VULKAN_SDK/Lib32" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append |
|
} |
We should use a GitHub action to do this instead, which should be much simpler and more reliable. For example:
https://github.com/jakoch/install-vulkan-sdk-action
The OpenCL SDK CI currently downloads and installs the Vulkan SDK somewhat manually:
OpenCL-SDK/.github/workflows/presubmit.yml
Lines 432 to 433 in aa33d56
OpenCL-SDK/.github/workflows/presubmit.yml
Lines 475 to 485 in aa33d56
We should use a GitHub action to do this instead, which should be much simpler and more reliable. For example:
https://github.com/jakoch/install-vulkan-sdk-action