CI: Generate Breakpad symbols for Linux / OSX Windows debugging ease

This commit is contained in:
Ty 2025-03-06 16:59:45 -05:00 committed by Ty
parent 98cdd3446b
commit 083fb5a1e6
1 changed files with 17 additions and 1 deletions

View File

@ -167,8 +167,24 @@ jobs:
!./bin/**/*.pdb
!./bin/**/*.lib
- name: Install the Breakpad Symbol Generator
uses: baptiste0928/cargo-install@v3
with:
crate: dump_syms
- name: Generate Breakpad Symbols
shell: pwsh
run: |
Get-ChildItem -Path ./bin -Recurse -File | Where-Object {
($_.Extension -eq ".exe" -or $_.Extension -eq ".pdb") -and ($_.Name -notmatch "updater")
} | ForEach-Object {
& dump_syms $_.FullName >> pcsx2-qt.bpsym
}
- name: Upload artifact - with symbols
uses: actions/upload-artifact@v4
with:
name: ${{ steps.artifact-metadata.outputs.artifact-name }}-symbols
path: ./bin/**/*.pdb
path: |
./bin/**/*.pdb
pcsx2-qt.bpsym