chore(ci): Bundle Windows PDBs (#492)

* update runners

* Save PDB

* Build RelWithDebInfo

* Update copy on runners

* Archive PDB separately

* Update copy

* Update PDB archive name
This commit is contained in:
David Chavez 2024-10-08 05:27:13 +02:00 committed by Mr-Wiseguy
parent cd12bc0c20
commit aeefc1b6bb
2 changed files with 11 additions and 4 deletions

View File

@ -22,7 +22,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
build-linux: build-linux:
runs-on: ${{ matrix.os }} runs-on: ${{ format('blaze/compute/{0}-amd64', matrix.os) }}
container: container:
image: dcvz/n64recomp:ubuntu-18.04 image: dcvz/n64recomp:ubuntu-18.04
volumes: volumes:
@ -108,7 +108,7 @@ jobs:
name: Zelda64Recompiled-AppImage-X64-${{ matrix.type }} name: Zelda64Recompiled-AppImage-X64-${{ matrix.type }}
path: Zelda64Recompiled-*.AppImage path: Zelda64Recompiled-*.AppImage
build-linux-arm64: build-linux-arm64:
runs-on: ${{ format('blaze/{0}', matrix.os) }} runs-on: ${{ format('blaze/compute/{0}', matrix.os) }}
strategy: strategy:
matrix: matrix:
type: [ Debug, Release ] type: [ Debug, Release ]
@ -199,7 +199,7 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
strategy: strategy:
matrix: matrix:
type: [ Debug, Release ] type: [ Debug, RelWithDebInfo ]
name: windows (${{ matrix.type }}) name: windows (${{ matrix.type }})
steps: steps:
- name: Checkout - name: Checkout
@ -264,6 +264,7 @@ jobs:
Move-Item -Path "cmake-build/dxcompiler.dll" -Destination "dxcompiler.dll" Move-Item -Path "cmake-build/dxcompiler.dll" -Destination "dxcompiler.dll"
Move-Item -Path "cmake-build/dxil.dll" -Destination "dxil.dll" Move-Item -Path "cmake-build/dxil.dll" -Destination "dxil.dll"
Move-Item -Path "cmake-build/SDL2.dll" -Destination "SDL2.dll" Move-Item -Path "cmake-build/SDL2.dll" -Destination "SDL2.dll"
Move-Item -Path "cmake-build/Zelda64Recompiled.pdb" -Destination "Zelda64Recompiled.pdb"
Remove-Item -Path "assets/scss" -Recurse -Force Remove-Item -Path "assets/scss" -Recurse -Force
- name: Archive Zelda64Recomp - name: Archive Zelda64Recomp
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
@ -276,3 +277,9 @@ jobs:
SDL2.dll SDL2.dll
assets/ assets/
gamecontrollerdb.txt gamecontrollerdb.txt
- name: Archive Debug Files
uses: actions/upload-artifact@v4
with:
name: Zelda64Recompiled-PDB-${{ matrix.type }}
path: |
Zelda64Recompiled.pdb

View File

@ -15,7 +15,7 @@ Zelda 64: Recompiled is a project that uses [N64: Recompiled](https://github.com
<br style="display: none;"/> <br style="display: none;"/>
_Thank you [Blaze](https://runblaze.dev) for supporting this project by providing Linux ARM64 and Apple Silicon macOS Github Action Runners!_ _Special thanks to [Blaze](https://runblaze.dev) for their support of this project. They provide high-performance Linux (AMD64 & ARM64) and Apple Silicon macOS runners for GitHub Actions, greatly reducing our automated build times._
</div> </div>