feat: automated builds using GitLab's CI system

This commit is contained in:
adam 2023-04-20 18:49:34 -05:00
parent 799cf9f19e
commit 5608ff5b9c

19
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,19 @@
# Build on bullseye
default:
image: debian:bullseye
latest:
# Build the latest .deb file
stage: build
tags: [ docker ]
script:
- apt update && apt install -y build-essential fakeroot devscripts apache2-dev
- export DEBEMAIL="NOREPLY@`hostname -d`"
- mkdir -p builddir
- uscan --overwrite-download --destdir builddir
- cd ../nextcloud-server-*
- dpkg-buildpackage -rfakeroot
- cd - ; cp ../nextcloud-server_*.deb .
artifacts:
paths:
- '*.deb'