Compare commits

...

2 Commits

Author SHA1 Message Date
abb56be3bb added git 2022-12-28 21:15:32 +01:00
571e654af1 fixes 2022-12-28 21:14:14 +01:00

View File

@ -47,11 +47,15 @@ build:pamac:
rules:
- if: $CI_COMMIT_BRANCH == "archlinux-makepkg"
before_script:
- pacman -Syu --noconfirm git
- useradd --no-create-home --shell=/bin/false build && usermod -L build
- 'echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers'
- 'echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers'
- chown -R build:build .
script:
# download dependencies
- source PKGBUILD && pacman -Syu --noconfirm --needed --asdeps "${makedepends[@]}" "${depends[@]}"
# build
- sudo -u build makepkg -s
test: