aur/.drone.yml
nyyu 103a0b092e
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build is passing
add aur build
2021-05-19 11:35:27 +02:00

21 lines
395 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: archlinux:base-devel
volumes:
- name: repo
path: /repo
commands:
- pacman -Syu git --noconfirm
- useradd build -m
- "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
- chown -R build:build .
- sudo -u build sh -c './build.sh'
volumes:
- name: repo
host:
path: /mnt/archlinux/nyyu