gitlab CI: generate the jobs for the custom builds 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-03-17.0'
7
8 distributions:
9   - name: fedora
10     tag: *default_tag
11     versions:
12       - '30'
13       - '31'
14       - '32'
15     want_qemu: true
16     use_for_custom_build_tests: true
17   - name: ubuntu
18     tag: *default_tag
19     versions:
20       - '19.10'
21       - '19.04'
22   - name: arch
23     tag: *default_tag
24     versions:
25       - 'rolling'
26   - name: alpine
27     tag: *default_tag
28     versions:
29       - 'latest'
30     build:
31       extra_variables:
32         - "MESON_ARGS: '-Ddocumentation=false' # alpine does not have python-recommonmark"
33         # We don't run the tests on alpine. The litest-selftest fails
34         # for any tcase_add_exit_test/tcase_add_test_raise_signal
35         # but someone more invested in musl will have to figure that out.
36         - "MESON_TEST_ARGS: '' # litest-selftest fails on musl"
37   - name: freebsd
38     tag: *default_tag
39     does_not_have_ci_templates: true
40
41 test_suites:
42   - name: touchpad
43     suites: 
44       touchpad
45   - name: tap 
46     suites: 
47       tap
48   - name: tablet 
49     suites: 
50       tablet
51   - name: gestures-device 
52     suites: 
53       gestures 
54       device
55   - name: others
56     suites: 
57       context
58       config
59       misc
60       events
61       totem
62       udev
63       lid
64       log
65       timer
66       tablet-mode
67       quirks
68       trackball
69       pad
70       path
71       keyboard
72       switch
73       touch
74       trackpoint
75   - name: pointer
76     suites: 
77       pointer