mirror of https://github.com/PCSX2/pcsx2.git
CI: Flatten symbols for upload-artifact
This commit is contained in:
parent
9842b11815
commit
5ab84aaa29
|
@ -172,13 +172,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
crate: dump_syms
|
crate: dump_syms
|
||||||
|
|
||||||
- name: Generate Breakpad Symbols
|
- name: Generate Breakpad Symbols # Also flatten pdbs to a 'symbols' directory for upload-artifact
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
|
mkdir -Force symbols
|
||||||
Get-ChildItem -Path ./bin -Recurse -File | Where-Object {
|
Get-ChildItem -Path ./bin -Recurse -File | Where-Object {
|
||||||
($_.Extension -eq ".exe" -or $_.Extension -eq ".pdb") -and ($_.Name -notmatch "updater")
|
($_.Extension -eq ".exe" -or $_.Extension -eq ".pdb") -and ($_.Name -notmatch "updater")
|
||||||
} | ForEach-Object {
|
} | ForEach-Object {
|
||||||
& dump_syms $_.FullName >> pcsx2-qt.bpsym
|
& dump_syms $_.FullName >> symbols/pcsx2-qt.bpsym
|
||||||
|
}
|
||||||
|
Get-ChildItem -Path ./bin -Recurse -Filter "*.pdb" | ForEach-Object {
|
||||||
|
Copy-Item $_.FullName -Destination symbols/
|
||||||
}
|
}
|
||||||
|
|
||||||
- name: Upload artifact - with symbols
|
- name: Upload artifact - with symbols
|
||||||
|
@ -186,5 +190,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.artifact-metadata.outputs.artifact-name }}-symbols
|
name: ${{ steps.artifact-metadata.outputs.artifact-name }}-symbols
|
||||||
path: |
|
path: |
|
||||||
./bin/**/*.pdb
|
./symbols
|
||||||
pcsx2-qt.bpsym
|
|
||||||
|
|
Loading…
Reference in New Issue