Merge branch 'dev/adunn/precision_vertex_cap' into 'main' #934
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: Build | |
on: | |
push: | |
branches: [ main, 'release/**' ] | |
pull_request: | |
branches: [ main, 'release/**' ] | |
jobs: | |
build-windows: | |
runs-on: windows-2022 | |
strategy: | |
matrix: | |
include: | |
- build-flavour: debug | |
output-subdir: _Comp64Debug | |
- build-flavour: debugoptimized | |
output-subdir: _Comp64DebugOptimized | |
- build-flavour: release | |
output-subdir: _Comp64Release | |
steps: | |
- name: Setup variables | |
uses: actions/github-script@v7 | |
with: | |
script: core.exportVariable('GITHUB_SHA_SHORT', context.sha.substring(0, 7)) | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup Meson | |
run: pip install meson==1.1.0 | |
- name: Build | |
shell: pwsh | |
run: | | |
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process | |
. .\build_common.ps1 | |
PerformBuild -BuildFlavour ${{matrix.build-flavour}} -BuildSubDir ${{matrix.output-subdir}} -Backend ninja -EnableTracy false copy_output | |
- name: Copy readme | |
run: copy artifacts_readme.txt _output | |
- name: Upload x64 binaries | |
uses: actions/upload-artifact@v4 | |
with: | |
name: rtx-remix-for-x64-games-${{env.GITHUB_SHA_SHORT}}-${{github.run_number}}-${{matrix.build-flavour}} | |
path: | | |
_output\*.dll | |
_output\*.pdb | |
_output\*.txt | |
_output\usd\* | |
- name: Move DXVK | |
shell: pwsh | |
run: | | |
mkdir _output\.trex | |
Move-Item -Path _output\*.dll -Destination _output\.trex\ | |
Move-Item -Path _output\*.pdb -Destination _output\.trex\ | |
Move-Item -Path _output\usd -Destination _output\.trex\usd | |
- name: Build Bridge | |
shell: pwsh | |
run: | | |
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process | |
pushd bridge | |
. .\build_bridge_${{matrix.build-flavour}}.bat | |
popd | |
- name: Copy Bridge | |
shell: pwsh | |
run: | | |
Copy-Item -Recurse -Path bridge\_output\* -Destination _output\ -Force | |
- name: Upload x86 binaries | |
uses: actions/upload-artifact@v4 | |
with: | |
name: rtx-remix-for-x86-games-${{env.GITHUB_SHA_SHORT}}-${{github.run_number}}-${{matrix.build-flavour}} | |
include-hidden-files: true | |
path: | | |
_output\*.dll | |
_output\*.exe | |
_output\*.pdb | |
_output\*.txt | |
_output\.trex\*.dll | |
_output\.trex\*.exe | |
_output\.trex\*.pdb | |
_output\.trex\usd\* |