Compare commits
2 Commits
f04d4905df
...
abb56be3bb
Author | SHA1 | Date | |
---|---|---|---|
abb56be3bb | |||
571e654af1 |
@ -47,11 +47,15 @@ build:pamac:
|
|||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == "archlinux-makepkg"
|
- if: $CI_COMMIT_BRANCH == "archlinux-makepkg"
|
||||||
before_script:
|
before_script:
|
||||||
|
- pacman -Syu --noconfirm git
|
||||||
- useradd --no-create-home --shell=/bin/false build && usermod -L build
|
- useradd --no-create-home --shell=/bin/false 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'
|
||||||
- chown -R build:build .
|
- chown -R build:build .
|
||||||
script:
|
script:
|
||||||
|
# download dependencies
|
||||||
|
- source PKGBUILD && pacman -Syu --noconfirm --needed --asdeps "${makedepends[@]}" "${depends[@]}"
|
||||||
|
# build
|
||||||
- sudo -u build makepkg -s
|
- sudo -u build makepkg -s
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
Loading…
Reference in New Issue
Block a user