Skip to content

Commit 9ea0082

Browse files
committed
CI: include Windows PDB symbols in packaged artifacts
1 parent 80d0c02 commit 9ea0082

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build-matrix.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,15 @@ jobs:
112112
fi
113113
114114
if [[ "${{ matrix.target }}" == "windows" ]]; then
115+
# Include MSVC debug symbols when available so crash dumps can be symbolized.
116+
for b in "${bins[@]}"; do
117+
for p in "build/${b}.pdb" "build/Release/${b}.pdb"; do
118+
if [[ -f "$p" ]]; then
119+
cp "$p" "$pkg_root/"
120+
fi
121+
done
122+
done
123+
115124
sdl_found=0
116125
declare -a dll_candidates=()
117126
@@ -154,7 +163,7 @@ jobs:
154163
- test_waveform_simple
155164
156165
Notes:
157-
- Windows bundle includes SDL2 runtime DLL.
166+
- Windows bundle includes SDL2 runtime DLL and .pdb symbols (when available).
158167
- Linux/macOS may still require system SDL2/OpenGL runtime packages.
159168
EOF
160169

0 commit comments

Comments
 (0)