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
<snip>
PermissionError: [Errno 13] Permission denied: '/builds/GNOME/glib/_build/meson-logs/meson-log.txt'
This commit is contained in:
Bastien Nocera 2019-12-11 17:52:24 +01:00
parent c782042087
commit 5a174d105d

View File

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