🚀 CD: add MAKEFLAGS to optimize local build process
This commit is contained in:
@@ -66,6 +66,8 @@ jobs:
|
|||||||
pacman -Sy --noconfirm archlinux-keyring
|
pacman -Sy --noconfirm archlinux-keyring
|
||||||
pacman -Su --noconfirm base-devel cmake qt6-base qt6-declarative sudo
|
pacman -Su --noconfirm base-devel cmake qt6-base qt6-declarative sudo
|
||||||
|
|
||||||
|
echo 'MAKEFLAGS="-j$(nproc)"' >> /etc/makepkg.conf
|
||||||
|
|
||||||
useradd -m builduser
|
useradd -m builduser
|
||||||
chown -R builduser:builduser /workspace
|
chown -R builduser:builduser /workspace
|
||||||
echo 'builduser ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
echo 'builduser ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
||||||
|
|||||||
Reference in New Issue
Block a user