scripts: gha: bundle SDL2 pdb file for better stacktraces on Windows

This commit is contained in:
Alibek Omarov 2024-12-29 02:08:05 +03:00
parent 687c9b004f
commit c9ee844a24
2 changed files with 3 additions and 1 deletions

View file

@ -66,7 +66,7 @@ jobs:
targetos: apple
targetarch: amd64
env:
SDL_VERSION: 2.30.9
SDL_VERSION: 2.30.10
GH_CPU_ARCH: ${{ matrix.targetarch }}
GH_CROSSCOMPILING: ${{ matrix.cross }}
steps:

View file

@ -17,8 +17,10 @@ fi
if [ "$ARCH" = "i386" ]; then
cp SDL2_VC/lib/x86/SDL2.dll . # Install SDL2
cp SDL2_VC/lib/x86/SDL2.pdb .
elif [ "$ARCH" = "amd64" ]; then
cp SDL2_VC/lib/x64/SDL2.dll .
cp SDL2_VC/lib/x64/SDL2.pdb .
else
die
fi