Debian Codegraph @

ci/container_builds.yml

raw symbols SCIP
1 # The following includes are for the CI templates that are used as a
2 # base to construct our container images. They need to be updated periodically, but
3 # not frequently, by pointing them to a more recent commit.
4 include:
5 - remote: "https://gitlab.gnome.org/Infrastructure/freedesktop-ci-templates/-/raw/a4eb2bbf65c482f024cae7ee178b8fe0cfef0537/templates/opensuse.yml"
6 - remote: "https://gitlab.freedesktop.org/alatiera/ci-templates/-/raw/104fbc7115a99a450ba926d2a96208457d77cac0/templates/gnomeos.yml"
7
8 # IMPORTANT: See
9 # https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/ci.html#container-image-version
10 variables:
11 BASE_TAG: "2026-02-04.1-main"
12 RUST_STABLE: "1.92.0"
13 RUST_MINIMUM: "1.92.0"
14 RUST_NIGHTLY: "nightly"
15 RUSTUP_VERSION: "1.28.0"
16 GNOMEOS_STABLE: "core-49"
17
18 # This bunch of packages are the system's C/C++ compilers, and the indirect dependencies needed
19 # to build librsvg's direct dependencies. E.g. we must build cairo from a git tag, but we don't
20 # care about libpng too much and so use it as a system library.
21 .container.opensuse@common:
22 stage: "container-build"
23 before_script:
24 - source ./ci/env.sh
25 variables:
26 FDO_DISTRIBUTION_VERSION: "tumbleweed"
27 FDO_UPSTREAM_REPO: "gnome/librsvg"
28 FDO_DISTRIBUTION_PACKAGES: >-
29 autoconf
30 automake
31 bison
32 clang
33 clang-tools
34 curl
35 dav1d-devel
36 diffutils
37 findutils
38 flex
39 gawk
40 gcc
41 gcc-c++
42 gdb
43 gettext
44 gettext-tools
45 git
46 gobject-introspection-devel
47 google-roboto-fonts
48 gperf
49 itstool
50 libbrotli-devel
51 libbz2-devel
52 libexpat-devel
53 libffi-devel
54 libjson-c-devel
55 libpng-devel
56 libstdc++-devel
57 libtool
58 libuuid-devel
59 make
60 meson
61 openssl-devel
62 pcre2-devel
63 python3-pip
64 python3-devel
65 shadow
66 shared-mime-info
67 ShellCheck
68 system-group-wheel
69 vala
70 wget
71 xz
72 zlib-devel
73
74 .container.opensuse@x86_64.stable:
75 extends: .container.opensuse@common
76 variables:
77 FDO_DISTRIBUTION_TAG: "x86_64-${RUST_STABLE}-${BASE_TAG}"
78 FDO_DISTRIBUTION_EXEC: >-
79 bash ci/install-python-tools.sh &&
80 bash ci/install-rust.sh --rustup-version ${RUSTUP_VERSION} \
81 --stable ${RUST_STABLE} \
82 --minimum ${RUST_MINIMUM} \
83 --nightly ${RUST_NIGHTLY} \
84 --arch x86_64-unknown-linux-gnu &&
85 bash ci/install-rust-tools.sh &&
86 bash ci/install-grcov.sh &&
87 mkdir -p /usr/local/librsvg &&
88 bash ci/build-dependencies.sh --prefix /usr/local/librsvg --meson-flags "--buildtype=release" &&
89 rm -rf /root/.cargo /root/.cache # cleanup compilation dirs; binaries are installed now
90
91 .container.opensuse@aarch64:
92 extends: .container.opensuse@common
93 variables:
94 FDO_DISTRIBUTION_TAG: "aarch64-${RUST_STABLE}-${BASE_TAG}"
95 FDO_DISTRIBUTION_EXEC: >-
96 bash ci/install-rust.sh --rustup-version ${RUSTUP_VERSION} \
97 --stable ${RUST_STABLE} \
98 --arch aarch64-unknown-linux-gnu &&
99 mkdir -p /usr/local/librsvg &&
100 bash ci/build-dependencies.sh --prefix /usr/local/librsvg --meson-flags "--buildtype=release" &&
101 rm -rf /root/.cargo /root/.cache # cleanup compilation dirs; binaries are installed now
102 tags:
103 - aarch64
104
105 opensuse-container@x86_64.stable:
106 extends:
107 - .fdo.container-build@opensuse@x86_64
108 - .container.opensuse@x86_64.stable
109 stage: "container-build"
110
111 opensuse-container@aarch64:
112 extends:
113 - .fdo.container-build@opensuse@aarch64
114 - .container.opensuse@aarch64
115 stage: "container-build"
116
117 .container.gnomeos@common:
118 stage: "container-build"
119 before_script:
120 - cat /etc/os-release
121 - source ./ci/env.sh
122 variables:
123 FDO_UPSTREAM_REPO: "gnome/librsvg"
124 FDO_DISTRIBUTION_EXEC: >-
125 bash ci/install-python-tools.sh &&
126 bash ci/install-rust.sh --rustup-version ${RUSTUP_VERSION} \
127 --stable ${RUST_STABLE} \
128 --minimum ${RUST_MINIMUM} \
129 --nightly ${RUST_NIGHTLY} \
130 --arch x86_64-unknown-linux-gnu &&
131 bash ci/install-rust-tools.sh &&
132 bash ci/install-grcov.sh &&
133 rm -rf /root/.cargo /root/.cache # cleanup compilation dirs; binaries are installed now
134
135 .container.gnomeos.nightly@x86_64:
136 extends: .container.gnomeos@common
137 variables:
138 FDO_DISTRIBUTION_TAG: "x86_64-${RUST_STABLE}-${BASE_TAG}"
139 FDO_DISTRIBUTION_VERSION: "core-nightly"
140
141 .container.gnomeos.stable@x86_64:
142 extends: .container.gnomeos@common
143 variables:
144 FDO_DISTRIBUTION_TAG: "x86_64-${RUST_STABLE}-${BASE_TAG}"
145 FDO_DISTRIBUTION_VERSION: "$GNOMEOS_STABLE"
146
147 gnomeos-container.nightly@x86_64:
148 extends:
149 - .fdo.container-build@gnomeos@x86_64
150 - .container.gnomeos.nightly@x86_64
151 stage: "container-build"
152
153 gnomeos-container.stable@x86_64:
154 extends:
155 - .fdo.container-build@gnomeos@x86_64
156 - .container.gnomeos.stable@x86_64
157 stage: "container-build"