gitlab CI: bump to F35 and F36, as well as Ubuntu 21.10 and 22.04
[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       - '21.10'
69       - '22.04'
70     packages:
71       - git
72       - gcc
73       - g++
74       - pkg-config
75       - meson
76       - check
77       - libudev-dev
78       - libevdev-dev
79       - doxygen
80       - graphviz
81       - python3-sphinx
82       - python3-recommonmark
83       - python3-sphinx-rtd-theme
84       - python3-pytest-xdist
85       - libwacom-dev
86       - libcairo2-dev
87       - libgtk-3-dev
88       - libglib2.0-dev
89       - libmtdev-dev
90   - name: arch
91     tag: *default_tag
92     versions:
93       - 'rolling'
94     packages:
95       - git
96       - gcc
97       - pkgconfig
98       - meson
99       - check
100       - libsystemd
101       - libevdev
102       - doxygen
103       - graphviz
104       - python-sphinx
105       - python-recommonmark
106       - python-sphinx_rtd_theme
107       - python-pytest-xdist
108       - libwacom
109       - gtk4
110       - mtdev
111       - diffutils
112       - wayland-protocols
113   - name: alpine
114     tag: *default_tag
115     versions:
116       - 'latest'
117     packages:
118       - git
119       - gcc build-base
120       - pkgconfig
121       - meson
122       - check-dev
123       - eudev-dev
124       - libevdev-dev
125       - libwacom-dev
126       - cairo-dev
127       - gtk4.0-dev
128       - mtdev-dev
129       - bash
130     build:
131       extra_variables:
132         - "MESON_ARGS: '-Ddocumentation=false' # alpine does not have python-recommonmark"
133         # We don't run the tests on alpine. The litest-selftest fails
134         # for any tcase_add_exit_test/tcase_add_test_raise_signal
135         # but someone more invested in musl will have to figure that out.
136         - "MESON_TEST_ARGS: '' # litest-selftest fails on musl"
137   - name: freebsd
138     tag: *default_tag
139     want_qemu: true
140     skip_container: true
141     versions:
142       - '13.0'
143     packages:
144       - git
145       - pkgconf
146       - meson
147       - libepoll-shim
148       - libudev-devd
149       - libevdev
150       - libwacom
151       - gtk3
152       - libmtdev
153       - bash
154       - wayland
155     build:
156       extra_variables:
157         - "MESON_ARGS: '-Dtests=false -Ddocumentation=false' # doxygen drags down too many deps"
158         # We don't run the tests on FreeBSD, someone would have to fix the
159         # test suite to work on BSD first.
160         - "MESON_TEST_ARGS: '' # test suite doesn't work on BSD yet"
161
162 test_suites:
163   - name: touchpad
164     suites:
165       - touchpad
166   - name: tap
167     suites:
168       - touchpad-tap
169   - name: touchpad-buttons
170     suites:
171       - touchpad-buttons
172   - name: tablet
173     suites:
174       - tablet
175   - name: gestures-device
176     suites:
177       - gestures
178       - device
179   - name: backends
180     suites:
181       - path
182       - udev
183   - name: misc
184     suites:
185       - log
186       - misc
187       - quirks
188   - name: other devices
189     suites:
190       - keyboard
191       - pad
192       - switch
193       - trackball
194       - trackpoint
195       - totem
196       - touch
197   - name: pointer
198     suites:
199       - pointer