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