vkd3d: Disable UAV compression in Shadow of the Tomb Raider. #5939
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Builds on Windows | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| build-set-windows: | |
| runs-on: windows-2022 | |
| steps: | |
| - name: Checkout code | |
| id: checkout-code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Setup widl and glslangValidator | |
| shell: pwsh | |
| run: | | |
| choco install strawberryperl -y | |
| Invoke-WebRequest -Uri "https://raw.githubusercontent.com/HansKristian-Work/vkd3d-proton-ci/main/glslangValidator.exe" -OutFile "C:\Strawberry\c\bin\glslangValidator.exe" | |
| Write-Output "C:\Strawberry\c\bin" | Out-File -FilePath "${Env:GITHUB_PATH}" -Append | |
| - name: Setup Meson | |
| shell: pwsh | |
| run: pip install meson | |
| - name: Find Visual Studio | |
| shell: pwsh | |
| run: | | |
| $installationPath = Get-VSSetupInstance ` | |
| | Select-VSSetupInstance -Require Microsoft.VisualStudio.Workload.NativeDesktop -Latest ` | |
| | Select-Object -ExpandProperty InstallationPath | |
| Write-Output "VSDEVCMD=${installationPath}\Common7\Tools\VsDevCmd.bat" ` | |
| | Out-File -FilePath "${Env:GITHUB_ENV}" -Append | |
| - name: Build MSVC x86 | |
| shell: pwsh | |
| run: | | |
| & "${Env:COMSPEC}" /s /c "`"${Env:VSDEVCMD}`" -arch=x86 -host_arch=x64 -no_logo && set" ` | |
| | % { , ($_ -Split '=', 2) } ` | |
| | % { [System.Environment]::SetEnvironmentVariable($_[0], $_[1]) } | |
| meson setup -Denable_tests=True -Denable_extras=True --buildtype release --backend vs2022 build-msvc-x86 | |
| msbuild -m build-msvc-x86/vkd3d-proton.sln | |
| - name: Build MSVC x64 | |
| shell: pwsh | |
| run: | | |
| & "${Env:COMSPEC}" /s /c "`"${Env:VSDEVCMD}`" -arch=x64 -host_arch=x64 -no_logo && set" ` | |
| | % { , ($_ -Split '=', 2) } ` | |
| | % { [System.Environment]::SetEnvironmentVariable($_[0], $_[1]) } | |
| meson setup -Denable_tests=True -Denable_extras=True --buildtype release --backend vs2022 build-msvc-x64 | |
| msbuild -m build-msvc-x64/vkd3d-proton.sln |