ci: Use dry-run install during the build test

We already test install as part of other jobs (such as
can-build-gnome-shell) and in general that's wrong because we may
add to the final install path artifacts that are required during tests,
hiding potential issues with meson test when those files are not
installed.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3016>
This commit is contained in:
Marco Trevisan (Treviño) 2023-05-23 18:28:10 +02:00 committed by Marge Bot
parent 4540284c06
commit 0c56b143a2

View File

@ -241,7 +241,7 @@ check-code-style:
$BASE_MESON_OPTIONS $BASE_MESON_OPTIONS
$EXTRA_MESON_OPTIONS $EXTRA_MESON_OPTIONS
- meson compile -C build - meson compile -C build
- meson install -C build - meson install --dry-run -C build
artifacts: artifacts:
expire_in: 1 day expire_in: 1 day
paths: paths: