Users using the Tequila login are invited to migrate to gitlab.epfl.ch. This instance will close for Tequila users by May 2020.

Commit 50505967 authored by Timothée Floure's avatar Timothée Floure

Add deb-build and deb-lint CI jobs

parent e909257a
Pipeline #1468 failed with stages
in 5 minutes and 25 seconds
test:
stages:
- test
- package-build
- package-check
test-perl:
stage: test
tags: [ debian ]
image: debian:stable
......@@ -24,7 +29,7 @@ test:
- perl Makefile.PL
- make test
lint:
lint-perl:
stage: test
tags: [ debian ]
image: debian:stable
......@@ -34,3 +39,28 @@ lint:
- apt-get install -y libperl-critic-perl
script:
- perlcritic --verbose 8 --gentle .
# Build package using dpkg-buildpackage
build-deb:
stage: package-build
tags:
- debian
- generic
image: gitlab.gnugen.ch:5005/gnugen/ci-containers/debian-packaging:latest
script:
- dpkg-buildpackage -us -uc
- mkdir build-artifacts
- mv ../gnugen-member-management* build-artifacts/
artifacts:
paths:
- build-artifacts
# Check built package using lintian.
lint-deb:
stage: package-check
tags:
- debian
- generic
image: gitlab.gnugen.ch:5005/gnugen/ci-containers/debian-packaging:latest
script:
- lintian -i build-artifacts/gnugen-member-management*.changes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment