From c9ee844a24d1f91cc27e22285906d7cb1b41d87c Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 29 Dec 2024 02:08:05 +0300 Subject: [PATCH] scripts: gha: bundle SDL2 pdb file for better stacktraces on Windows --- .github/workflows/c-cpp.yml | 2 +- scripts/gha/build_win32.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index e1b734fc68..459037f49e 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -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: diff --git a/scripts/gha/build_win32.sh b/scripts/gha/build_win32.sh index 3873dbd15e..9501786845 100755 --- a/scripts/gha/build_win32.sh +++ b/scripts/gha/build_win32.sh @@ -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