ci: Make fringe meson-install arguments optional

Both the subdir and prepare arguments are very specific to
building the extensions-tool subproject stand-alone. In order
to make the script more generic, turn those required arguments
into optional --subdir and --prepare ones.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2712>
This commit is contained in:
Florian Müllner 2023-03-20 02:01:33 +01:00 committed by Marge Bot
parent d97c667937
commit ea629cabbf
2 changed files with 21 additions and 7 deletions

View file

@ -68,11 +68,11 @@ workflow:
'C Development Tools and Libraries' &&
./.gitlab-ci/install-meson-project.sh \
--subdir subprojects/extensions-tool/ \
--prepare ./generate-translations.sh \
-Dman=false \
https://gitlab.gnome.org/GNOME/gnome-shell.git \
main \
subprojects/extensions-tool/ \
./generate-translations.sh &&
main &&
dnf clean all