SDL: ci: install libunwind for printing traces of leaks

From 9ca8a6e50b37aea554c1c814c279eb03329bc05b Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Fri, 30 Aug 2024 20:17:23 +0200
Subject: [PATCH] ci: install libunwind for printing traces of leaks

---
 .github/workflows/create-test-plan.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/create-test-plan.py b/.github/workflows/create-test-plan.py
index 15a3337990f83..7906f3a1391b6 100755
--- a/.github/workflows/create-test-plan.py
+++ b/.github/workflows/create-test-plan.py
@@ -164,7 +164,7 @@ class JobDetails:
     no_cmake: bool
     build_tests: bool = True
     container: str = ""
-    cmake_build_type: str = "Release"
+    cmake_build_type: str = "RelWithDebInfo"
     shell: str = "sh"
     sudo: str = "sudo"
     cmake_config_emulator: str = ""
@@ -433,6 +433,9 @@ def spec_to_job(spec: JobSpec) -> JobDetails:
                 "libudev-dev",
                 "fcitx-libs-dev",
             ))
+            job.apt_packages.extend((
+                "libunwind-dev",  # For SDL_test memory tracking
+            ))
             job.shared_lib = SharedLibType.SO_0
             job.static_lib = StaticLibType.A
             fpic = True