ci
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nyyu 2021-05-19 09:48:07 +02:00
parent eee014441d
commit ec82060c85
2 changed files with 30 additions and 0 deletions

17
.drone.yml Normal file
View file

@ -0,0 +1,17 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: archlinux:base-devel
volumes:
- name: repo
path: /repo
commands:
- ./build.sh
volumes:
- name: repo
host:
path: /mnt/archlinux/nyyu

13
build.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
for d in */ ; do
echo "$d"
cd "$d"
makepkg -s --skippgpcheck
if [ $? -eq 0 ]; then
PKG=$(*.pkg.tar.zst)
cp $PKG /repo/
repo-add /repo/nyyu.db.tar.zst $PKG
fi
cd ..
done