From aeefc1b6bb4470df88ee4e8f160b8af582b9545b Mon Sep 17 00:00:00 2001 From: David Chavez Date: Tue, 8 Oct 2024 05:27:13 +0200 Subject: [PATCH] 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 --- .github/workflows/validate.yml | 13 ++++++++++--- README.md | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 442d031..b9f7c96 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -22,7 +22,7 @@ concurrency: cancel-in-progress: true jobs: build-linux: - runs-on: ${{ matrix.os }} + runs-on: ${{ format('blaze/compute/{0}-amd64', matrix.os) }} container: image: dcvz/n64recomp:ubuntu-18.04 volumes: @@ -108,7 +108,7 @@ jobs: name: Zelda64Recompiled-AppImage-X64-${{ matrix.type }} path: Zelda64Recompiled-*.AppImage build-linux-arm64: - runs-on: ${{ format('blaze/{0}', matrix.os) }} + runs-on: ${{ format('blaze/compute/{0}', matrix.os) }} strategy: matrix: type: [ Debug, Release ] @@ -199,7 +199,7 @@ jobs: runs-on: windows-latest strategy: matrix: - type: [ Debug, Release ] + type: [ Debug, RelWithDebInfo ] name: windows (${{ matrix.type }}) steps: - name: Checkout @@ -264,6 +264,7 @@ jobs: 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/SDL2.dll" -Destination "SDL2.dll" + Move-Item -Path "cmake-build/Zelda64Recompiled.pdb" -Destination "Zelda64Recompiled.pdb" Remove-Item -Path "assets/scss" -Recurse -Force - name: Archive Zelda64Recomp uses: actions/upload-artifact@v4 @@ -276,3 +277,9 @@ jobs: SDL2.dll assets/ gamecontrollerdb.txt + - name: Archive Debug Files + uses: actions/upload-artifact@v4 + with: + name: Zelda64Recompiled-PDB-${{ matrix.type }} + path: | + Zelda64Recompiled.pdb diff --git a/README.md b/README.md index d840f9e..95f9aa3 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Zelda 64: Recompiled is a project that uses [N64: Recompiled](https://github.com
-_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._