aur/.drone.yml
nyyu 111ec998f3
All checks were successful
continuous-integration/drone/push Build is passing
fix
2021-05-19 12:08:34 +02:00

22 lines
498 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: archlinux:base-devel
volumes:
- name: repo
path: /repo
commands:
- echo -e '[nyyu]\nServer = https://archlinux.nyyu.dev/nyyu\nSigLevel = Never' >> /etc/pacman.conf
- 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