Port original Linux CI code to Gitlab

This commit is contained in:
niansa 2024-03-07 16:36:40 +00:00 committed by MattTheTekie
parent e183fcaf02
commit ba5b604f9a
5 changed files with 25 additions and 50 deletions

View file

@ -50,8 +50,8 @@ static void PruneDumpDirectory(const std::filesystem::path& dump_path) {
}
#if defined(__linux__)
[[noreturn]] bool DumpCallback(const google_breakpad::MinidumpDescriptor& descriptor, void* context,
bool succeeded) {
[[noreturn]] static bool DumpCallback(const google_breakpad::MinidumpDescriptor& descriptor, void* context,
bool succeeded) {
// Prevent time- and space-consuming core dumps from being generated, as we have
// already generated a minidump and a core file will not be useful anyway.
_exit(1);