Compare commits

..

No commits in common. "abb56be3bb78553b42fb383b1691bb0f992592ca" and "f04d4905dfd26e2458623158215545e5eea88be5" have entirely different histories.

View File

@ -47,15 +47,11 @@ 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: