forked from Hello_User/mirror-test
This commit is contained in:
parent
24cd575b27
commit
e56a229c5d
@ -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
|
Loading…
Reference in New Issue
Block a user