From 4e9baf7ba559209b102c9b25dba1084ebaf36bb6 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 6 Dec 2023 11:13:13 +0200 Subject: [PATCH] ci: Allow any path within gdb safe-load In certain cases, the validate runner will try to get a stacktrace from gdb, which will currently complain about loading the .gdbinit file. warning: File "/builds/gstreamer/gstreamer/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". Part-of: --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5a4a43591..5651eab36b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -586,6 +586,11 @@ build macos: - changes: *modules_changes script: + # Disable gdb debugdir safeload + # The CI will execute any code submitted to it anyway + - mkdir -p ~/.config/gdb + - echo "set auto-load safe-path /" >> ~/.config/gdb/gdbinit + - $CI_PROJECT_DIR/ci/scripts/build.sh - $CI_PROJECT_DIR/ci/scripts/test.sh after_script: