mirror of
https://github.com/Inori/GPCS4.git
synced 2024-06-02 11:28:07 -04:00
fix path
This commit is contained in:
parent
dccb69092e
commit
69d9b464ab
8
.github/workflows/build-windows.yml
vendored
8
.github/workflows/build-windows.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
|||
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
|
||||
$installer = Start-Process -FilePath VulkanSDK.exe -Wait -PassThru -ArgumentList @("--root ${{env.VULKAN_SDK_PATH}}\\1.3.250.0 --accept-licenses --default-answer --confirm-command install");
|
||||
$installer = Start-Process -FilePath VulkanSDK.exe -Wait -PassThru -ArgumentList @("--root ${{env.VULKAN_SDK_PATH}}\1.3.250.0 --accept-licenses --default-answer --confirm-command install");
|
||||
$installer.WaitForExit();
|
||||
|
||||
|
||||
|
@ -76,18 +76,18 @@ jobs:
|
|||
# Fix a LLVM/VS bug which installs/checks wrong path.
|
||||
# Then write a Directory.build.props file to specify clang-cl path.
|
||||
run: |
|
||||
$lib_path="${{env.LLVM_PATH}}\\lib\\clang\\16";if(Test-Path $lib_path){ Rename-Item -Path $lib_path -NewName "16.0.6" }
|
||||
$lib_path="${{env.LLVM_PATH}}\lib\clang\16";if(Test-Path $lib_path){ Rename-Item -Path $lib_path -NewName "16.0.6" }
|
||||
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: |
|
||||
$vk_sdk="${{env.VULKAN_SDK_PATH}}\1.3.250.0"
|
||||
$vk_sdk="${{env.VULKAN_SDK_PATH}}\1.3.250.0\Bin"
|
||||
"$vk_sdk" >> $env:GITHUB_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"
|
||||
run: Write-Host $Env:PATH;glslc -mfmt=num -o out.h "Graphics\\Sce\\Shaders\\sce_present_frag.frag"
|
||||
|
||||
|
||||
- name: Build
|
||||
|
|
Loading…
Reference in a new issue