Add GitLab CI/CD pipeline for building Debian packages

This commit is contained in:
2025-03-21 17:43:34 +01:00
parent 2206fa0eb3
commit 0a6eaaefdc

30
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,30 @@
default:
image: debian-package-builder-bookworm
stages:
- build
- package
variables:
DEBIAN_FRONTEND: noninteractive
before_script:
- apt-get update -qq
- apt-get install -y devscripts debhelper dh-make build-essential lintian
build:
stage: build
script:
- mkdir -p build
- cp -r * build/
- cd build1
- debuild -us -uc
package:
stage: package
script:
- cd build
- lintian ../*.deb
artifacts:
paths:
- build/*.deb