2.51.90
[platform/upstream/at-spi2-core.git] / ci / container_builds.yml
1 # This file defines the container images that at-spi2-core uses for its CI.
2 #
3 # Container images are built using the Freedesktop CI Templates infrastructure:
4 # https://gitlab.freedesktop.org/freedesktop/ci-templates/
5
6 # The SHAs here correspond to commits in the freedesktop/ci-templates repository.
7 # It doesn't change often, but you can update to newer SHAs if there are important
8 # changes there.
9 include:
10   - remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/3e66ea37e5672bb8f48e3056ba92915b5fc5b888/templates/opensuse.yml"
11   - remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/3e66ea37e5672bb8f48e3056ba92915b5fc5b888/templates/fedora.yml"
12
13 variables:
14   # When branching change the suffix to avoid conflicts with images
15   # from the main branch
16   BASE_TAG: "2024-01-10.1-main"
17   RUST_STABLE: "1.75.0"
18
19 .container.opensuse@x86_64:
20   stage: "container-build"
21   variables:
22     FDO_DISTRIBUTION_TAG: "x86_64-${BASE_TAG}"
23     FDO_DISTRIBUTION_VERSION: "tumbleweed"
24     FDO_UPSTREAM_REPO: "gnome/at-spi2-core"
25     FDO_DISTRIBUTION_PACKAGES: >-
26       bzip2
27       clang
28       clang-tools
29       dbus-1
30       dbus-1-devel
31       findutils
32       gawk
33       gcc
34       gettext
35       git
36       glib2-devel
37       gobject-introspection-devel
38       gsettings-desktop-schemas
39       itstool
40       libX11-devel
41       libXi-devel
42       libXtst-devel
43       libasan8
44       libxkbcommon-devel
45       libxml2-devel
46       llvm
47       meson
48       ninja
49       python3-pip
50       python311-gobject-devel
51       tar
52       wget
53       which
54       xvfb-run
55     FDO_DISTRIBUTION_EXEC: >-
56       bash ci/install-python-tools.sh &&
57       bash ci/install-rust.sh ${RUST_STABLE} x86_64-unknown-linux-gnu
58
59 opensuse-container@x86_64:
60   extends:
61     - .fdo.container-build@opensuse@x86_64
62     - .container.opensuse@x86_64
63   stage: "container-build"
64
65 .container.fedora@x86_64:
66   stage: "container-build"
67   variables:
68     FDO_DISTRIBUTION_TAG: "x86_64-${BASE_TAG}"
69     FDO_DISTRIBUTION_VERSION: "37"
70     FDO_UPSTREAM_REPO: "gnome/at-spi2-core"
71     FDO_DISTRIBUTION_PACKAGES: >-
72       clang
73       clang-tools-extra
74       dbus-daemon
75       dbus-devel
76       dbus-tools
77       findutils
78       gcc
79       gettext
80       git
81       glib2-devel
82       gobject-introspection-devel
83       gsettings-desktop-schemas
84       itstool
85       lcov
86       libXi-devel
87       libXtst-devel
88       libasan
89       libxkbcommon-devel
90       libxml2-devel
91       ninja-build
92       procps
93       python3
94       python3-pip
95       systemd-devel
96     FDO_DISTRIBUTION_EXEC: >-
97       pip3 install meson==0.63
98
99 fedora-container@x86_64:
100   extends:
101     - .fdo.container-build@fedora
102     - .container.fedora@x86_64
103   stage: "container-build"