gitlab-ci: Build package and run autopkgtest / lintian

Use prebuilt pipelines to build debs for arm64 and amd64. Test
the amd64 ones using (potential) autopkgtests and lintian.
This commit is contained in:
Guido Günther
2020-01-13 11:35:34 +01:00
parent a85710869c
commit ad56f9aa85

View File

@@ -1,6 +1,11 @@
include:
- 'https://source.puri.sm/Librem5/librem5-ci/raw/master/librem5-pipeline-definitions.yml'
stages: stages:
- build - build
- test - test
- package
- test-package
variables: variables:
DEPS: build-essential git modemmanager-dev libmm-glib-dev DEPS: build-essential git modemmanager-dev libmm-glib-dev
@@ -40,3 +45,21 @@ test:native:
- export LC_ALL=C.UTF-8 - export LC_ALL=C.UTF-8
- xvfb-run ninja -C _build test - xvfb-run ninja -C _build test
package:deb-debian-buster:
extends: .l5-build-debian-package
package:deb-debian-buster:arm64:
tags:
- librem5:arm64
extends: .l5-build-debian-package
autopkgtest-debian-buster-package:
dependencies:
- package:deb-debian-buster
extends: .l5-autopkgtest-debian-package
lintian-debian-buster-package:
dependencies:
- package:deb-debian-buster
extends: .l5-lintian-debian-package