gitlab ci: drop EOL'd ubuntu 21.10
[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 '2022-06-10.0'
7
8 distributions:
9   - name: fedora
10     tag: *default_tag
11     versions:
12       - '35'
13       - '36' # last is picked for qemu
14     want_qemu: true
15     use_for_custom_build_tests: true
16     use_for_qemu_tests: true
17     packages:
18       - git-core
19       - gcc
20       - gcc-c++
21       - pkgconf-pkg-config
22       - meson
23       - check-devel
24       - libudev-devel
25       - libevdev-devel
26       - doxygen
27       - graphviz
28       - python3-sphinx
29       - python3-recommonmark
30       - python3-sphinx_rtd_theme
31       - python3-pytest-xdist
32       - libwacom-devel
33       - cairo-devel
34       - gtk4-devel
35       - glib2-devel
36       - mtdev-devel
37       - diffutils
38       - wayland-protocols-devel
39       - valgrind        # for the valgrind run, optional
40   - name: debian
41     tag: *default_tag
42     versions:
43       - 'stable'
44     packages:
45       - git
46       - gcc
47       - g++
48       - pkg-config
49       - meson
50       - check
51       - libudev-dev
52       - libevdev-dev
53       - doxygen
54       - graphviz
55       - python3-sphinx
56       - python3-recommonmark
57       - python3-sphinx-rtd-theme
58       - python3-pytest-xdist
59       - libwacom-dev
60       - libcairo2-dev
61       - libgtk-3-dev
62       - libglib2.0-dev
63       - libmtdev-dev
64       - curl            # for the coverity job
65   - name: ubuntu
66     tag: *default_tag
67     versions:
68       - '22.04'
69     packages:
70       - git
71       - gcc
72       - g++
73       - pkg-config
74       - meson
75       - check
76       - libudev-dev
77       - libevdev-dev
78       - doxygen
79       - graphviz
80       - python3-sphinx
81       - python3-recommonmark
82       - python3-sphinx-rtd-theme
83       - python3-pytest-xdist
84       - libwacom-dev
85       - libcairo2-dev
86       - libgtk-3-dev
87       - libglib2.0-dev
88       - libmtdev-dev
89   - name: arch
90     tag: *default_tag
91     versions:
92       - 'rolling'
93     packages:
94       - git
95       - gcc
96       - pkgconfig
97       - meson
98       - check
99       - libsystemd
100       - libevdev
101       - doxygen
102       - graphviz
103       - python-sphinx
104       - python-recommonmark
105       - python-sphinx_rtd_theme
106       - python-pytest-xdist
107       - libwacom
108       - gtk4
109       - mtdev
110       - diffutils
111       - wayland-protocols
112   - name: alpine
113     tag: *default_tag
114     versions:
115       - 'latest'
116     packages:
117       - git
118       - gcc build-base
119       - pkgconfig
120       - meson
121       - check-dev
122       - eudev-dev
123       - libevdev-dev
124       - libwacom-dev
125       - cairo-dev
126       - gtk4.0-dev
127       - mtdev-dev
128       - bash
129     build:
130       extra_variables:
131         - "MESON_ARGS: '-Ddocumentation=false' # alpine does not have python-recommonmark"
132         # We don't run the tests on alpine. The litest-selftest fails
133         # for any tcase_add_exit_test/tcase_add_test_raise_signal
134         # but someone more invested in musl will have to figure that out.
135         - "MESON_TEST_ARGS: '' # litest-selftest fails on musl"
136   - name: freebsd
137     tag: *default_tag
138     want_qemu: true
139     skip_container: true
140     versions:
141       - '13.0'
142     packages:
143       - git
144       - pkgconf
145       - meson
146       - libepoll-shim
147       - libudev-devd
148       - libevdev
149       - libwacom
150       - gtk3
151       - libmtdev
152       - bash
153       - wayland
154     build:
155       extra_variables:
156         - "MESON_ARGS: '-Dtests=false -Ddocumentation=false' # doxygen drags down too many deps"
157         # We don't run the tests on FreeBSD, someone would have to fix the
158         # test suite to work on BSD first.
159         - "MESON_TEST_ARGS: '' # test suite doesn't work on BSD yet"
160
161 test_suites:
162   - name: touchpad
163     suites:
164       - touchpad
165   - name: tap
166     suites:
167       - touchpad-tap
168   - name: touchpad-buttons
169     suites:
170       - touchpad-buttons
171   - name: tablet
172     suites:
173       - tablet
174   - name: gestures-device
175     suites:
176       - gestures
177       - device
178   - name: backends
179     suites:
180       - path
181       - udev
182   - name: misc
183     suites:
184       - log
185       - misc
186       - quirks
187   - name: other devices
188     suites:
189       - keyboard
190       - pad
191       - switch
192       - trackball
193       - trackpoint
194       - totem
195       - touch
196   - name: pointer
197     suites:
198       - pointer