Skip to content
Snippets Groups Projects
Commit d5b6731f authored by Seblu's avatar Seblu
Browse files

Add ~/.makepkg.conf in CI

parent 06ea9300
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,10 @@ makepkg:
- echo 'SigLevel = Required TrustedOnly' >> /etc/pacman.conf
- pacman --sync --refresh --sysupgrade --noconfirm
- pacman --sync --noconfirm base-devel devtools
- useradd --home-dir /root --groups root,wheel --shell /bin/bash build
- useradd --create-home --shell /bin/bash build
- "echo 'build ALL = NOPASSWD: /usr/bin/pacman' > /etc/sudoers.d/build"
- "[ -n \"$PACKAGER\" ] && echo \"PACKAGER='$PACKAGER'\" > /home/build/.makepkg.conf"
- echo "MAKEFLAGS='-j$(nproc)'" >> /home/build/.makepkg.conf
script:
- ulimit -c 0
- sudo -u build -- makepkg --syncdeps --noconfirm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment