1
0
mirror of https://github.com/alrayyes/st synced 2023-11-14 15:56:30 +00:00

Update .gitlab-ci.yml

This commit is contained in:
Ryan 2019-06-12 15:04:18 +00:00
parent d3476ced66
commit c0225e0bc1

View File

@ -8,4 +8,8 @@ build:package:
stage: compile
image: archlinux/base
script:
- makepkg -si
- pacman -S --needed --noconfirm sudo # Install sudo
- useradd builduser -m # Create the builduser
- passwd -d builduser # Delete the buildusers password
- printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers # Allow the builduser passwordless sudo
- sudo -u builduser 'bash -c makepkg -s'