mirror of
https://github.com/Inori/GPCS4.git
synced 2024-05-20 05:00:52 -04:00
setup vulkan sdk path
This commit is contained in:
parent
a3a230b4d8
commit
34e2a26b34
12
.github/workflows/build-windows.yml
vendored
12
.github/workflows/build-windows.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
|||
path: "${{env.VULKAN_SDK_PATH}}"
|
||||
key: key-vulkan-sdk
|
||||
|
||||
- name: Setup Vulkan SDK
|
||||
- name: Install Vulkan SDK
|
||||
if: ${{steps.cache-vulkan-sdk.outputs.cache-hit != 'true'}}
|
||||
run: |
|
||||
Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/1.3.250.0/windows/VulkanSDK-1.3.250.0-Installer.exe" -OutFile VulkanSDK.exe
|
||||
|
@ -50,7 +50,7 @@ jobs:
|
|||
path: "${{env.LLVM_PATH}}"
|
||||
key: key-llvm
|
||||
|
||||
- name: Setup LLVM
|
||||
- name: Install LLVM
|
||||
if: ${{steps.cache-llvm.outputs.cache-hit != 'true'}}
|
||||
run: |
|
||||
Invoke-WebRequest -Uri "https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.6/LLVM-16.0.6-win64.exe" -OutFile LLVM.exe
|
||||
|
@ -80,10 +80,18 @@ jobs:
|
|||
Set-Content -Path .\Directory.build.props -Value "<Project>`n <PropertyGroup>`n <LLVMInstallDir>${{env.LLVM_PATH}}</LLVMInstallDir>`n <LLVMToolsVersion>16.0.6</LLVMToolsVersion>`n </PropertyGroup>`n</Project>"
|
||||
|
||||
|
||||
- name: Setup Vulkan SDK Path
|
||||
run: |
|
||||
$env:VULKAN_SDK = "${{env.VULKAN_SDK_PATH}}\\1.3.250.0"
|
||||
$env:VK_SDK_PATH = $env:VULKAN_SDK
|
||||
$env:Path = "$env:VULKAN_SDK\\Bin;" + $env:Path
|
||||
|
||||
|
||||
- name: Test glslc
|
||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||
run: Write-Host $Env:PATH;dir $Env:VULKAN_SDK\\bin;glslc -mfmt=num -o out.h "Graphics\\Sce\\Shaders\\sce_present_frag.frag"
|
||||
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||
# Add additional options to the MSBuild command line here (like platform or verbosity level).
|
||||
|
|
Loading…
Reference in a new issue