Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Jun 30, 2024
1 parent fe769b2 commit 28a156f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
env:
ALSOFT_CONF: megasource/libs/love/testing/resources/alsoft.conf
VK_ICD_FILENAMES: ${{ github.workspace }}\mesa\x64\lvp_icd.x86_64.json
VULKAN_SDK: C:/VulkanSDK/1.3.231.1
VULKAN_SDK: C:/VulkanSDK/1.3.283.0
strategy:
matrix:
platform: [x64, ARM64]
Expand Down Expand Up @@ -371,20 +371,20 @@ jobs:
- name: Install Vulkan
if: steps.vars.outputs.arch != 'ARM64'
run: |
curl -L --show-error --output VulkanSDK.exe https://sdk.lunarg.com/sdk/download/1.3.231.1/windows/VulkanSDK-1.3.231.1-Installer.exe
./VulkanSDK.exe --root C:/VulkanSDK/1.3.231.1 --accept-licenses --default-answer --confirm-command install com.lunarg.vulkan.core com.lunarg.vulkan.vma
curl -L --show-error --output vulkan-runtime.zip https://sdk.lunarg.com/sdk/download/1.3.231.1/windows/vulkan-runtime-components.zip
7z e vulkan-runtime.zip -o"C:/VulkanSDK/1.3.231.1/runtime/x64" */x64
copy "C:\VulkanSDK\1.3.231.1\runtime\x64\vulkan-1.dll" "mesa\x64"
copy "C:\VulkanSDK\1.3.231.1\runtime\x64\vulkan-1.dll" "C:\Windows\System32"
copy "C:\VulkanSDK\1.3.231.1\runtime\x64\vulkan-1.dll" "love-12.0-win64\love-12.0-win64"
curl -L --show-error --output VulkanSDK.exe https://sdk.lunarg.com/sdk/download/1.3.283.0/windows/VulkanSDK-1.3.283.0-Installer.exe
./VulkanSDK.exe --root C:/VulkanSDK/1.3.283.0 --accept-licenses --default-answer --confirm-command install com.lunarg.vulkan.core com.lunarg.vulkan.vma com.lunarg.vulkan.debug
curl -L --show-error --output vulkan-runtime.zip https://sdk.lunarg.com/sdk/download/1.3.283.0/windows/vulkan-runtime-components.zip
7z e vulkan-runtime.zip -o"C:/VulkanSDK/1.3.283.0/runtime/x64" */x64
copy "C:\VulkanSDK\1.3.283.0\runtime\x64\vulkan-1.dll" "mesa\x64"
copy "C:\VulkanSDK\1.3.283.0\runtime\x64\vulkan-1.dll" "C:\Windows\System32"
copy "C:\VulkanSDK\1.3.283.0\runtime\x64\vulkan-1.dll" "love-12.0-win64\love-12.0-win64"
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\Drivers /v "${{ github.workspace }}\mesa\x64\lvp_icd.x86_64.json" /t REG_DWORD /d 0
powershell.exe C:/VulkanSDK/1.3.231.1/runtime/x64/vulkaninfo.exe --summary
powershell.exe C:/VulkanSDK/1.3.283.0/runtime/x64/vulkaninfo.exe --summary
# windows vulkan tests
- name: Run Tests (vulkan)
if: steps.vars.outputs.arch != 'ARM64'
env:
VK_LAYER_PATH: C:/VulkanSDK/1.3.231.1/Bin/VkLayer_khronos_validation.json
VK_LAYER_PATH: C:/VulkanSDK/1.3.283.0/Bin/VkLayer_khronos_validation.json
LOVE_GRAPHICS_DEBUG: 1
run: |
powershell.exe ./install/lovec.exe ./megasource/libs/love/testing/main.lua --all --isRunner --renderers vulkan
Expand Down

0 comments on commit 28a156f

Please sign in to comment.