Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Shaquille Soekhlal 2022-03-28 18:22:32 +02:00
parent 24cd575b27
commit e56a229c5d

View File

@ -18,9 +18,7 @@ steps:
image: archlinux:base-devel image: archlinux:base-devel
commands: commands:
- pacman -Syu --noconfirm - pacman -Syu --noconfirm
- useradd --no-create-home --shell=/bin/sh build && usermod -L build - chmod +x setupbuild.sh
- echo "build ALL=(ALL) NOPASSWD : ALL" >> /etc/sudoers - sh setupbuild.sh
- echo "root ALL=(ALL) NOPASSWD : ALL" >> /etc/sudoers
- chown -R build:build /drone/src
- su build - su build
- MAKEFLAGS="-j$(nproc)" makepkg --syncdeps - MAKEFLAGS="-j$(nproc)" makepkg --syncdeps