From 5a174d105d7525f9b53862d48b7a33d5974a9144 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 11 Dec 2019 17:52:24 +0100 Subject: [PATCH] ci: Fix permission error in valgrind analysis stage The valgrind analysis stage inherits from existing artefacts, so make sure to reset the permissions on the glib build directory to avoid a new build failing. $ meson ${MESON_COMMON_OPTIONS} --werror -Dsystemtap=true -Ddtrace=true -Dfam=true -Dinstalled_tests=true _build PermissionError: [Errno 13] Permission denied: '/builds/GNOME/glib/_build/meson-logs/meson-log.txt' --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6afbbe0ef..9b2b0857d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -112,6 +112,7 @@ installed-tests: _build - ninja -C _build - sudo ninja -C _build install + - sudo chown -R `id -un`:`id -gn` _build/ # FIXME Install newer xdg-desktop-portal with # GMemoryMonitor support, see: # https://github.com/flatpak/xdg-desktop-portal/pull/365