Skip to content

Commit

Permalink
windows and linux fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TGS963 authored Oct 11, 2023
1 parent ecb6fc6 commit e73cf79
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
- name: vulkansdk
if: steps.cache-vulkansdk.outputs.cache-hit != 'true'
run: |
wget https://sdk.lunarg.com/sdk/download/1.3.261.1/linux/vulkansdk-linux-x86_64-1.3.261.1.tar.gz?Human=true -O vulkansdk-linux-x86_64-1.3.261.1.tar.gz
tar -xf vulkansdk-linux-x86_64-1.3.261.1.tar.gz
wget https://sdk.lunarg.com/sdk/download/1.3.261.1/linux/vulkansdk-linux-x86_64-1.3.261.1.tar.xz?Human=true -O vulkansdk-linux-x86_64-1.3.261.1.tar.xz
tar -xf vulkansdk-linux-x86_64-1.3.261.1.tar.xz
rm -rf 1.3.261.1/source 1.3.261.1/samples
find 1.3.261.1 -type f | grep -v -E 'vulkan|glslang' | xargs rm
- name: build
Expand Down Expand Up @@ -215,7 +215,6 @@ jobs:
run: |
Invoke-WebRequest -Uri https://sdk.lunarg.com/sdk/download/1.3.261.1/windows/VulkanSDK-1.3.261.1-Installer.exe?Human=true -OutFile VulkanSDK-1.3.261.1-Installer.exe
7z x -aoa ./VulkanSDK-1.3.261.1-Installer.exe -oVulkanSDK
Remove-Item .\VulkanSDK\Demos, .\VulkanSDK\Samples, .\VulkanSDK\Third-Party, .\VulkanSDK\Tools, .\VulkanSDK\Tools32, .\VulkanSDK\Bin32, .\VulkanSDK\Lib32 -Recurse
- name: build
run: |
$env:VULKAN_SDK="$(pwd)/VulkanSDK"
Expand Down

0 comments on commit e73cf79

Please sign in to comment.