• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.templates_sha: &template_sha 290b79e0e78eab67a83766f4e9691be554fc4afd
2
3include:
4  - project: 'freedesktop/ci-templates'
5    ref: *template_sha
6    file: '/templates/debian.yml'
7  - project: 'freedesktop/ci-templates'
8    ref: *template_sha
9    file: '/templates/ci-fairy.yml'
10
11stages:
12  - review
13  - containers-build
14  - test
15
16variables:
17  FDO_UPSTREAM_REPO: wayland/wayland-protocols
18
19.debian:
20  variables:
21    FDO_DISTRIBUTION_VERSION: bullseye
22    FDO_DISTRIBUTION_PACKAGES: 'build-essential automake autoconf libtool pkg-config libwayland-dev meson'
23    FDO_DISTRIBUTION_TAG: '2021-03-24.0'
24
25check-commit:
26  extends:
27    - .fdo.ci-fairy
28  stage: review
29  script:
30    - ci-fairy check-commits --signed-off-by --junit-xml=results.xml
31  variables:
32    GIT_DEPTH: 100
33  artifacts:
34    reports:
35      junit: results.xml
36
37container_build:
38  extends:
39    - .debian
40    - .fdo.container-build@debian
41  stage: containers-build
42  variables:
43    GIT_STRATEGY: none
44
45test-meson:
46  stage: test
47  extends:
48    - .debian
49    - .fdo.distribution-image@debian
50  script:
51    - meson build
52    - ninja -C build
53    - meson test -C build
54    - ninja -C build install
55
56test-autotools:
57  stage: test
58  extends:
59    - .debian
60    - .fdo.distribution-image@debian
61  script:
62    - ./autogen.sh
63    - make check
64