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 install $DEPS wget ca-certificates gnupg - echo "deb http://ci.puri.sm/ bullseyeci main" > /etc/apt/sources.list.d/ci.list - wget -O- https://ci.puri.sm/ci-repo.key | apt-key add - - apt-get -y update - apt-get -y build-dep . - ulimit -c unlimited .tags: &tags tags: - librem5 build:native: <<: *tags image: $IMAGE stage: build artifacts: paths: - _build script: - meson --werror . _build - ninja -C _build except: variables: - $PKG_ONLY == "1" test:native: <<: *tags image: $IMAGE stage: test dependencies: - build:native script: - export LC_ALL=C.UTF-8 - xvfb-run ninja -C _build test except: variables: - $PKG_ONLY == "1" 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