CI: Bump base image to ubuntu:26.04; add AT-SPI2 deps

Required for Qt AT-SPI2 bridge tests. The 26.04 bump gets us Qt 6.10 (we
need ≥6.8) and Orca 50.1 (we need ≥47) directly from apt — so we don’t
need a separate Qt install or Orca overlay.

This also gets us both clang-21 and clang++-21 — because Ubuntu’s own
26.04 repo has those, and bundles both into the same package. So we no
longer need to add the apt.llvm.org repo to get those.
This commit is contained in:
sideshowbarker 2026-05-04 23:49:12 +09:00 committed by Jelle Raaijmakers
parent 5aa0d13a99
commit 8121ff8278
2 changed files with 10 additions and 5 deletions

View file

@ -1,4 +1,4 @@
FROM ubuntu:24.04
FROM ubuntu:26.04
ARG GCC_VERSION=14
ARG LLVM_VERSION=21
@ -20,12 +20,11 @@ RUN apt-get update -o APT::Update::Error-Mode=any \
lsb-release \
software-properties-common \
&& UBUNTU_RELEASE="$(lsb_release -cs)" \
&& curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | gpg --dearmor -o /usr/share/keyrings/llvm-snapshot.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] http://apt.llvm.org/${UBUNTU_RELEASE}/ llvm-toolchain-${UBUNTU_RELEASE}-${LLVM_VERSION} main" > /etc/apt/sources.list.d/llvm.list \
&& curl -fsSL https://apt.kitware.com/keys/kitware-archive-latest.asc | gpg --dearmor -o /usr/share/keyrings/kitware-archive-keyring.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ ${UBUNTU_RELEASE} main" > /etc/apt/sources.list.d/kitware.list \
&& apt-get update -o APT::Update::Error-Mode=any \
&& apt-get install -y --no-install-recommends \
at-spi2-core \
autoconf \
autoconf-archive \
automake \
@ -33,15 +32,16 @@ RUN apt-get update -o APT::Update::Error-Mode=any \
build-essential \
ccache \
clang-${LLVM_VERSION} \
clang++-${LLVM_VERSION} \
clang-format-${LLVM_VERSION} \
clang-tools-${LLVM_VERSION} \
cmake \
dbus-x11 \
file \
fonts-liberation2 \
g++-${GCC_VERSION} \
gcc-${GCC_VERSION} \
generate-ninja \
gir1.2-atspi-2.0 \
git \
jq \
libcurl4-openssl-dev \
@ -64,9 +64,13 @@ RUN apt-get update -o APT::Update::Error-Mode=any \
npm \
openssl \
optipng \
orca \
pkg-config \
pulseaudio \
python3 \
python3-dasbus \
python3-gi \
python3-psutil \
python3-venv \
qt6-base-dev \
qt6-tools-dev-tools \
@ -74,6 +78,7 @@ RUN apt-get update -o APT::Update::Error-Mode=any \
shellcheck \
tar \
unzip \
xvfb \
xz-utils \
zip \
zstd \

View file

@ -1 +1 @@
2026.05.4
2026.05.5