Skip to content

Commit

Permalink
scripts: gha: bundle SDL2 pdb file for better stacktraces on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Dec 28, 2024
1 parent 687c9b0 commit c9ee844
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions scripts/gha/build_win32.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9ee844

Please sign in to comment.