Skip to content

Commit f40f3d8

Browse files
committed
ci(linux): run Fast checks inside ubuntu:25.10 for glib 2.82+
Workspace pinned libadwaita to v1_6 in be8c1c9, which transitively requires gio-2.0 >= 2.82. The ubuntu-24.04 host runner ships glib 2.80, so every push since that commit has failed at Clippy: Package 'gio-2.0' has version '2.80.0', required version is '>= 2.82' Container the Fast job in ubuntu:25.10 (glib 2.84). The integration job stays on the host runner since driver crates don't pull in libadwaita. Container is minimal so we install ca-certificates / curl / git up front for rust-toolchain + Swatinem/rust-cache.
1 parent 37eeabd commit f40f3d8

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

.github/workflows/build-linux.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ jobs:
1818
fast:
1919
name: Fast checks
2020
runs-on: ubuntu-24.04
21+
# ubuntu-24.04 ships glib 2.80, but libadwaita 1.6 (workspace pin)
22+
# transitively requires gio-2.0 >= 2.82. Building inside ubuntu:25.10
23+
# gives us glib 2.84, which satisfies the system-deps check. The
24+
# integration job stays on the host runner — driver crates depend
25+
# only on tablepro-core, so they don't pull in libadwaita.
26+
container:
27+
image: ubuntu:25.10
28+
env:
29+
DEBIAN_FRONTEND: noninteractive
2130
defaults:
2231
run:
2332
working-directory: linux
@@ -26,10 +35,18 @@ jobs:
2635
with:
2736
ref: ${{ github.event_name == 'schedule' && 'linux' || github.ref }}
2837
- name: Install system dependencies
38+
# ubuntu:25.10 is minimal — git for Swatinem/rust-cache key
39+
# generation, curl + ca-certificates for rust-toolchain's
40+
# rustup install, plus the GTK / libadwaita / sourceview /
41+
# OpenSSL / libsecret -dev packages the workspace links.
42+
# No sudo (container runs as root by default).
2943
run: |
30-
sudo apt-get update
31-
sudo apt-get install -y \
44+
apt-get update
45+
apt-get install -y --no-install-recommends \
3246
build-essential \
47+
ca-certificates \
48+
curl \
49+
git \
3350
pkg-config \
3451
libgtk-4-dev \
3552
libadwaita-1-dev \

0 commit comments

Comments
 (0)