Update '.drone.yml'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Shaquille Soekhlal 2022-03-28 18:13:04 +02:00
parent 9253da06ea
commit b94af35199

View File

@ -18,8 +18,8 @@ steps:
image: archlinux:base-devel image: archlinux:base-devel
commands: commands:
- pacman -Syu --noconfirm - pacman -Syu --noconfirm
- useradd --shell=/bin/false build && usermod -L build - useradd --no-create-home --shell=/bin/sh build && usermod -L build
- echo "build ALL=(ALL) NOPASSWD':' ALL" >> /etc/sudoers - echo "build ALL=(ALL) NOPASSWD':' ALL" >> /etc/sudoers
- echo "root ALL=(ALL) NOPASSWD':' ALL" >> /etc/sudoers - echo "root ALL=(ALL) NOPASSWD':' ALL" >> /etc/sudoers
- su - build - su build
- MAKEFLAGS="-j$(nproc)" makepkg --syncdeps - MAKEFLAGS="-j$(nproc)" makepkg --syncdeps