ci: install libunwind for printing traces of leaks

This commit is contained in:
Anonymous Maarten 2024-08-30 20:17:23 +02:00 committed by Anonymous Maarten
parent 1bc81c7e30
commit 9ca8a6e50b
1 changed files with 4 additions and 1 deletions

View File

@ -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