ci: Do not run meson install with sudo

It will happen automatically since we have pkexec calling it implicitly

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3024>
This commit is contained in:
Marco Trevisan (Treviño) 2023-05-25 13:36:26 +02:00
parent e613ffb5a5
commit 0adf3dcba0

View File

@ -288,7 +288,7 @@ build-without-opengl-and-glx@x86_64:
-Dwayland_eglstream=true -Dwayland_eglstream=true
-Dintrospection=false -Dintrospection=false
- meson compile -C build - meson compile -C build
- sudo meson install --no-rebuild -C build - meson install --no-rebuild -C build
artifacts: artifacts:
paths: paths:
- build/meson-logs - build/meson-logs
@ -311,7 +311,7 @@ build-without-native-backend-and-wayland@x86_64:
-Dnative_tests=false -Dnative_tests=false
-Dintrospection=false -Dintrospection=false
- meson compile -C build - meson compile -C build
- sudo meson install --no-rebuild -C build - meson install --no-rebuild -C build
artifacts: artifacts:
paths: paths:
- build/meson-logs - build/meson-logs
@ -332,7 +332,7 @@ build-wayland-only@x86_64:
-Dnative_tests=false -Dnative_tests=false
-Dintrospection=false -Dintrospection=false
- meson compile -C build - meson compile -C build
- sudo meson install --no-rebuild -C build - meson install --no-rebuild -C build
artifacts: artifacts:
paths: paths:
- build/meson-logs - build/meson-logs
@ -469,11 +469,11 @@ can-build-gnome-shell@x86_64:
needs: needs:
- build-mutter@x86_64 - build-mutter@x86_64
before_script: before_script:
- sudo meson install --no-rebuild -C build - meson install --no-rebuild -C build
script: script:
- .gitlab-ci/checkout-gnome-shell.sh - .gitlab-ci/checkout-gnome-shell.sh
- meson setup gnome-shell gnome-shell/build --prefix /usr -Dman=false - meson setup gnome-shell gnome-shell/build --prefix /usr -Dman=false
- sudo meson install -C gnome-shell/build - meson install -C gnome-shell/build
test-mutter-coverity: test-mutter-coverity:
rules: rules: