automated builds using CI system #9

Merged
ijurisic merged 2 commits from adamhax0rbana/nextcloud-deb:ci-build into bullseye 2023-04-21 22:26:11 +02:00
Showing only changes of commit 5608ff5b9c - Show all commits

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'