gitlab CI: generate the package lists from the config.yaml
[platform/upstream/libinput.git] / .gitlab-ci / config.yml
1 # This file contains the configuration for the gitlab ci.
2 # See the .gitlab-ci/generate-gitlab-ci.py file for more info
3 #
4
5 # We're happy to rebuild all containers when one changes.
6 .default_tag: &default_tag '2020-11-12.1'
7
8 distributions:
9   - name: fedora
10     tag: *default_tag
11     versions:
12       - '31'
13       - '32'
14     want_qemu: true
15     use_for_custom_build_tests: true
16     packages:
17       - git-core
18       - gcc
19       - gcc-c++
20       - pkgconf-pkg-config
21       - meson
22       - check-devel
23       - libudev-devel
24       - libevdev-devel
25       - doxygen
26       - graphviz
27       - python3-sphinx
28       - python3-recommonmark
29       - python3-sphinx_rtd_theme
30       - python3-pytest-xdist
31       - libwacom-devel
32       - cairo-devel
33       - gtk3-devel
34       - glib2-devel
35       - mtdev-devel
36       - diffutils
37       - valgrind
38   - name: debian
39     tag: *default_tag
40     versions:
41       - 'stable'
42     packages:
43       - git
44       - gcc
45       - g++
46       - pkg-config
47       - meson
48       - check
49       - libudev-dev
50       - libevdev-dev
51       - doxygen
52       - graphviz
53       - python3-sphinx
54       - python3-recommonmark
55       - python3-sphinx-rtd-theme
56       - python3-pytest-xdist
57       - libwacom-dev
58       - libcairo2-dev
59       - libgtk-3-dev
60       - libglib2.0-dev
61       - libmtdev-dev
62   - name: ubuntu
63     tag: *default_tag
64     versions:
65       - '20.04'
66       - '20.10'
67     packages:
68       - git
69       - gcc
70       - g++
71       - pkg-config
72       - meson
73       - check
74       - libudev-dev
75       - libevdev-dev
76       - doxygen
77       - graphviz
78       - python3-sphinx
79       - python3-recommonmark
80       - python3-sphinx-rtd-theme
81       - python3-pytest-xdist
82       - libwacom-dev
83       - libcairo2-dev
84       - libgtk-3-dev
85       - libglib2.0-dev
86       - libmtdev-dev
87   - name: arch
88     tag: *default_tag
89     versions:
90       - 'rolling'
91     packages:
92       - git
93       - gcc
94       - pkgconfig
95       - meson
96       - check
97       - libsystemd
98       - libevdev
99       - doxygen
100       - graphviz
101       - python-sphinx
102       - python-recommonmark
103       - python-sphinx_rtd_theme
104       - python-pytest-xdist
105       - libwacom
106       - gtk3
107       - mtdev
108       - diffutils
109   - name: alpine
110     tag: *default_tag
111     versions:
112       - 'latest'
113     packages:
114       - git
115       - gcc build-base
116       - pkgconfig
117       - meson
118       - check-dev
119       - eudev-dev
120       - libevdev-dev
121       - libwacom-dev
122       - cairo-dev
123       - gtk+3.0-dev
124       - mtdev-dev
125       - bash
126     build:
127       extra_variables:
128         - "MESON_ARGS: '-Ddocumentation=false' # alpine does not have python-recommonmark"
129         # We don't run the tests on alpine. The litest-selftest fails
130         # for any tcase_add_exit_test/tcase_add_test_raise_signal
131         # but someone more invested in musl will have to figure that out.
132         - "MESON_TEST_ARGS: '' # litest-selftest fails on musl"
133   - name: freebsd
134     tag: *default_tag
135     packages:
136       - libepoll-shim
137       - libudev-devd
138       - libevdev
139       - libwacom
140       - gtk3
141       - libmtdev
142     does_not_have_ci_templates: true
143
144 test_suites:
145   - name: touchpad
146     suites:
147       touchpad
148   - name: tap
149     suites:
150       tap
151   - name: tablet
152     suites:
153       tablet
154   - name: gestures-device
155     suites:
156       gestures
157       device
158   - name: others
159     suites:
160       context
161       config
162       misc
163       events
164       totem
165       udev
166       lid
167       log
168       timer
169       tablet-mode
170       quirks
171       trackball
172       pad
173       path
174       keyboard
175       switch
176       touch
177       trackpoint
178   - name: pointer
179     suites:
180       pointer