From a81bc90f5dc62a83619e38f3a6aa29d3fb8f53c5 Mon Sep 17 00:00:00 2001 From: Shaquille Soekhlal Date: Mon, 28 Mar 2022 18:03:46 +0200 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index cc27d6a..8e57bdd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,4 +17,8 @@ steps: image: archlinux:base-devel commands: - pacman -Syu --noconfirm + - useradd --no-create-home --shell=/bin/false build && usermod -L build + - echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers + - echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers + - su build - MAKEFLAGS="-j$(nproc)" makepkg --syncdeps \ No newline at end of file