Compare commits
2 Commits
f04d4905df
...
abb56be3bb
Author | SHA1 | Date | |
---|---|---|---|
abb56be3bb | |||
571e654af1 |
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user