aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 66a56a3873f2937a3638c8a112ac1bcc5d2c901c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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