scripts: gha: bundle SDL2 pdb file for better stacktraces on Windows
This commit is contained in:
parent
687c9b004f
commit
c9ee844a24
2 changed files with 3 additions and 1 deletions
2
.github/workflows/c-cpp.yml
vendored
2
.github/workflows/c-cpp.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue