forked from Hello_User/mirror-test
This commit is contained in:
parent
24cd575b27
commit
e56a229c5d
@ -18,9 +18,7 @@ steps:
|
||||
image: archlinux:base-devel
|
||||
commands:
|
||||
- pacman -Syu --noconfirm
|
||||
- useradd --no-create-home --shell=/bin/sh build && usermod -L build
|
||||
- echo "build ALL=(ALL) NOPASSWD : ALL" >> /etc/sudoers
|
||||
- echo "root ALL=(ALL) NOPASSWD : ALL" >> /etc/sudoers
|
||||
- chown -R build:build /drone/src
|
||||
- chmod +x setupbuild.sh
|
||||
- sh setupbuild.sh
|
||||
- su build
|
||||
- MAKEFLAGS="-j$(nproc)" makepkg --syncdeps
|
Loading…
Reference in New Issue
Block a user