Skip to content

Commit

Permalink
Add .gitlab-ci.yml
Browse files Browse the repository at this point in the history
The script runs automated protocol validation checks. The image is
generated using fd.o CI templates [1].

[1]: https://gitlab.freedesktop.org/wayland/ci-templates

Signed-off-by: Simon Ser <contact@emersion.fr>
Closes: https://gitlab.freedesktop.org/wayland/wayland-protocols/issues/5
  • Loading branch information
emersion committed Nov 21, 2019
1 parent 6d0fc70 commit f4c76c4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitlab-ci.yml
@@ -0,0 +1,27 @@
variables:
DEBIAN_TAG: 2019-11-21.0
DEBIAN_VERSION: stable
TEST_IMAGE: "$CI_REGISTRY_IMAGE/debian/$DEBIAN_VERSION:$DEBIAN_TAG"

include:
- project: 'wayland/ci-templates'
ref: f69acac60d5dde0410124fd5674764600821b7a6
file: '/templates/debian.yml'

stages:
- containers-build
- test

container_build:
extends: .debian@container-ifnot-exists
stage: containers-build
variables:
GIT_STRATEGY: none # no need to pull the whole tree for rebuilding the image
DEBIAN_DEBS: 'build-essential automake autoconf libtool pkg-config libwayland-dev'

test:
stage: test
image: $TEST_IMAGE
script:
- ./autogen.sh
- make check

0 comments on commit f4c76c4

Please sign in to comment.