Commit a6b1497f authored by Peter J. Mello's avatar Peter J. Mello
Browse files

Remove sudo invocations from .gitlab-ci.yml

parent 55ec2dac
Pipeline #45926 failed with stages
in 1 minute and 34 seconds
......@@ -10,14 +10,14 @@ variables:
dh-systemd equivs flatpak-builder-tests flatpak-tests
flatpak-xdg-utils-tests g++ gcc git gtk-doc-tools libc6-dev
libglib2.0-dev libgtk-3-dev libnss3-dev libpixman-1-dev
libudev-dev libusb-1.0-0-dev libx11-dev libxv-dev meson systemd
wget
libudev-dev libusb-1.0-0-dev libx11-dev libxv-dev meson sudo
systemd wget
BUNDLE: "org.freedesktop.libfprint.Demo.flatpak"
.build_one_driver_template: &build_one_driver
script:
- sudo apt -y update && sudo apt -y full-upgrade
- sudo apt -y install $DEPENDENCIES
- apt -y update && apt -y full-upgrade
- apt -y install $DEPENDENCIES
# Build with a driver that doesn't need imaging, or nss
- meson -Ddrivers=elan . _build
- ninja -C _build
......@@ -25,8 +25,8 @@ variables:
.build_template: &build
script:
- sudo apt -y update && sudo apt -y full-upgrade
- sudo apt -y install $DEPENDENCIES
- apt -y update && apt -y full-upgrade
- apt -y install $DEPENDENCIES
# And build with everything
- meson -Ddrivers=all . _build
- ninja -C _build
......@@ -39,11 +39,11 @@ build:
.make_deb_package_template: &make_deb_package
script:
- sudo apt -y update && sudo apt -y full-upgrade
- sudo apt -y install $DEPENDENCIES
- apt -y update && apt -y full-upgrade
- apt -y install $DEPENDENCIES
# Use packaging script to handle tarball creation and calling debuild
- export DH_VERBOSE=1
- ./make_deb.sh
- sudo bash ./make_deb.sh
package:
stage: package
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment