Skip to content

Commit c4a0965

Browse files
committed
ci: build qBittorrent with PDBs for crash symbols
1 parent 16b0300 commit c4a0965

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci_windows_arm64_native.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ jobs:
190190
cmake `
191191
-B build `
192192
-G Ninja `
193-
-DCMAKE_BUILD_TYPE=Release `
193+
-DCMAKE_BUILD_TYPE=RelWithDebInfo `
194+
-DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=ProgramDatabase `
194195
-DCMAKE_PREFIX_PATH="$qtTargetRoot;$hostQtRoot;$vcpkgInstalled" `
195196
-DQT_HOST_PATH="$hostQtRoot" `
196197
-DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake" `
@@ -209,7 +210,7 @@ jobs:
209210
run: |
210211
New-Item -ItemType Directory -Path upload -Force | Out-Null
211212
Copy-Item "qbittorrent-release-${{ env.qbt_version }}/build/qbittorrent.exe" upload
212-
Copy-Item "qbittorrent-release-${{ env.qbt_version }}/build/qbittorrent.pdb" upload
213+
Get-ChildItem "qbittorrent-release-${{ env.qbt_version }}/build" -Filter "*.pdb" -File | Copy-Item -Destination upload
213214
Copy-Item "qbittorrent-release-${{ env.qbt_version }}/dist/windows/qt.conf" upload
214215
Set-Location upload
215216
7z a "qbittorrent_${{ env.qbt_version }}_arm64.zip" *

0 commit comments

Comments
 (0)