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