mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-16 05:15:36 +00:00
64 lines
1.1 KiB
YAML
64 lines
1.1 KiB
YAML
include:
|
|
- 'https://source.puri.sm/Librem5/librem5-ci/raw/master/librem5-pipeline-definitions.yml'
|
|
|
|
stages:
|
|
- build
|
|
- test
|
|
- package
|
|
- test-package
|
|
|
|
variables:
|
|
DEPS: build-essential git
|
|
WANT_BUILD_DEPS: "true"
|
|
IMAGE: debian:bullseye
|
|
|
|
before_script:
|
|
- export DEBIAN_FRONTEND=noninteractive
|
|
- apt-get -y update
|
|
- apt-get -y build-dep .
|
|
- apt-get -y install $DEPS
|
|
- ulimit -c unlimited
|
|
|
|
.tags: &tags
|
|
tags:
|
|
- librem5
|
|
|
|
build:native:
|
|
<<: *tags
|
|
image: $IMAGE
|
|
stage: build
|
|
artifacts:
|
|
paths:
|
|
- _build
|
|
script:
|
|
- meson --werror . _build
|
|
- ninja -C _build
|
|
|
|
test:native:
|
|
<<: *tags
|
|
image: $IMAGE
|
|
stage: test
|
|
dependencies:
|
|
- build:native
|
|
script:
|
|
- export LC_ALL=C.UTF-8
|
|
- 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
|
|
|