mirror of
https://git.freestone.net/cramer/pcapmirror.git
synced 2025-12-31 03:50:27 +01:00
Add GitLab CI/CD pipeline for building Debian packages
This commit is contained in:
30
.gitlab-ci.yml
Normal file
30
.gitlab-ci.yml
Normal 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
|
||||
Reference in New Issue
Block a user