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

gitlab CI: add a basic meson build/test run


Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent f3fc1f22
......@@ -11,3 +11,7 @@ max_line_length = 80
[meson.build]
indent_style = space
[*.yml]
indent_style = space
indent_size = 2
.templates_sha: &templates_sha 59de540b620c45739871d1a073d76d5521989d11
include:
- project: 'freedesktop/ci-templates'
ref: *templates_sha
file: '/templates/fedora.yml'
stages:
- prep
- test
.distro-defaults:
variables:
FDO_DISTRIBUTION_VERSION: 32
FDO_DISTRIBUTION_TAG: '2020-05-12.0'
container-prep:
extends:
- .fdo.container-build@fedora
- .distro-defaults
stage: prep
variables:
FDO_DISTRIBUTION_PACKAGES: 'libX11-devel libXrandr-devel gcc meson ninja-build'
GIT_STRATEGY: none
allow_failure: true
test:
extends:
- .fdo.distribution-image@fedora
- .distro-defaults
stage: test
needs:
- container-prep
script:
- meson builddir
- meson configure builddir
- ninja -C builddir test
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