Skip to content

Commit 165634f

Browse files
committed
Merge branch 'bump-ci' into 'master'
Bump CI image to Fedora 40 See merge request GNOME/gjs!942
2 parents ece84a2 + 7fce9de commit 165634f

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

test/extra/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# === Build Spidermonkey stage ===
55

6-
FROM registry.fedoraproject.org/fedora:39 AS mozjs-build
6+
FROM registry.fedoraproject.org/fedora:40 AS mozjs-build
77
ARG MOZJS_BRANCH=mozjs115
88
ARG MOZJS_BUILDDEPS=${MOZJS_BRANCH}
99
ARG BUILD_OPTS=
@@ -41,7 +41,7 @@ RUN rm -f /root/mozjs-install/usr/lib64/libjs_static.ajs
4141

4242
# === Actual Docker image ===
4343

44-
FROM registry.fedoraproject.org/fedora:39
44+
FROM registry.fedoraproject.org/fedora:40
4545

4646
ARG LOCALES=tr_TR
4747
ENV SHELL=/bin/bash

test/extra/Dockerfile.debug

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# === Build stage ===
55

6-
FROM registry.fedoraproject.org/fedora:39 AS build
6+
FROM registry.fedoraproject.org/fedora:40 AS build
77
ARG MOZJS_BRANCH=mozjs115
88
ARG MOZJS_BUILDDEPS=${MOZJS_BRANCH}
99
ARG BUILD_OPTS=
@@ -26,14 +26,14 @@ RUN dnf -y install 'dnf-command(builddep)' \
2626
rust \
2727
which \
2828
xz
29-
RUN dnf -y builddep ${MOZJS_BUILDDEPS} glib2 gobject-introspection
29+
RUN dnf -y builddep ${MOZJS_BUILDDEPS} gobject-introspection
3030

3131
WORKDIR /root
3232

3333
RUN mkdir -p include-what-you-use/_build
34-
ADD https://include-what-you-use.org/downloads/include-what-you-use-0.21.src.tar.gz /root/include-what-you-use/
34+
ADD https://include-what-you-use.org/downloads/include-what-you-use-0.22.src.tar.gz /root/include-what-you-use/
3535
WORKDIR /root/include-what-you-use
36-
RUN tar xzf include-what-you-use-0.21.src.tar.gz --strip-components=1
36+
RUN tar xzf include-what-you-use-0.22.src.tar.gz --strip-components=1
3737

3838
WORKDIR /root/include-what-you-use/_build
3939

@@ -58,32 +58,21 @@ RUN rm -f /root/mozjs-install/usr/lib64/libjs_static.ajs
5858

5959
WORKDIR /root
6060

61-
# Install gnome-introspection from main, so that we can test against it
62-
# Temporarily, we can only build gobject-introspection with a GLib that's new
63-
# enough to generate its own GIRs
64-
RUN git clone https://gitlab.gnome.org/GNOME/glib.git
61+
# Install gobject-introspection from main, so that we can test against it
6562
RUN git clone https://gitlab.gnome.org/GNOME/gobject-introspection.git
6663

6764
ENV PATH=/opt/GNOME/bin:$PATH
6865
ENV LD_LIBRARY_PATH=/opt/GNOME/lib64:$LD_LIBRARY_PATH
6966
ENV PKG_CONFIG_PATH=/opt/GNOME/lib64/pkgconfig:$PKG_CONFIG_PATH
7067

71-
WORKDIR /root/glib
72-
RUN meson setup _build . --prefix=/opt/GNOME --buildtype debugoptimized -Dintrospection=disabled
73-
RUN ninja -C _build install
74-
7568
WORKDIR /root/gobject-introspection
7669
RUN meson setup _build . --prefix=/opt/GNOME --buildtype debugoptimized -Dbuild_introspection_data=false
7770
RUN DESTDIR=/root/g-i-install ninja -C _build install
7871
RUN ninja -C _build install
7972

80-
WORKDIR /root/glib
81-
RUN meson configure _build -Dintrospection=enabled
82-
RUN DESTDIR=/root/glib-install ninja -C _build install
83-
8473
# === Actual Docker image ===
8574

86-
FROM registry.fedoraproject.org/fedora:39
75+
FROM registry.fedoraproject.org/fedora:40
8776

8877
ARG LOCALES=tr_TR
8978
ENV SHELL=/bin/bash
@@ -142,7 +131,6 @@ RUN dnf -y install --enablerepo=fedora-debuginfo,updates-debuginfo \
142131

143132
COPY --from=build /root/mozjs-install/usr /usr
144133
COPY --from=build /root/iwyu-install/usr /usr
145-
COPY --from=build /root/glib-install/opt /opt
146134
COPY --from=build /root/g-i-install/opt /opt
147135
RUN ln -s /usr/bin/iwyu_tool.py /usr/bin/iwyu_tool
148136

0 commit comments

Comments
 (0)