Commit f29b4087 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

gitlab CI: add a basic build test



Based on debian stable because we don't expect this repo to be updated very
often, so let's not play catch-up with more frequently updated distributions.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 7121e323
Pipeline #236067 passed with stages
in 1 minute and 35 seconds
# vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0 filetype=yaml:
.templates_sha: &template_sha 16f790f93f893394b70d7048fb0e8a981ceaa3c5 # see https://docs.gitlab.com/ee/ci/yaml/#includefile
include:
- project: 'freedesktop/ci-templates'
ref: *template_sha
file: '/templates/debian.yml'
stages:
- prep
- build
variables:
FDO_DISTRIBUTION_TAG: '2020-11-30.0' # change this to rebuild the images
FDO_DISTRIBUTION_VERSION: 'stable'
FDO_DISTRIBUTION_PACKAGES: 'meson g++ pkgconf libevemu-dev libevdev-dev libx11-dev libxi-dev libxext-dev'
container-prep:
extends:
- .fdo.container-build@debian
stage: prep
variables:
GIT_STRATEGY: none
build:
extends:
- .fdo.distribution-image@debian
stage: build
script:
- meson "$MESON_BUILDDIR"
- ninja -C "$MESON_BUILDDIR"
variables:
MESON_BUILDDIR: 'build dir'
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