فهرست منبع

ci: install libunwind for printing traces of leaks

Anonymous Maarten 7 ماه پیش
والد
کامیت
9ca8a6e50b
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      .github/workflows/create-test-plan.py

+ 4 - 1
.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