From f09def4138e83c6d53749e3a8af2418db803f276 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Fri, 12 Jun 2026 20:17:54 +0000 Subject: [PATCH] ci: GTK4/libadwaita/SDL3 dev packages for punktfunk-client-linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Baked into the rust-ci image, plus an idempotent apt step in the rust job itself — ci.yml runs against the previous push's image (docker.yml bootstrap note), so the image change alone would leave this push and the next one red. Co-Authored-By: Claude Fable 5 --- .gitea/workflows/ci.yml | 8 ++++++++ ci/rust-ci.Dockerfile | 2 ++ 2 files changed, 10 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e9136bd..166a8d8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -18,6 +18,14 @@ jobs: steps: - uses: actions/checkout@v4 + # punktfunk-client-linux link deps. Also baked into rust-ci.Dockerfile — but ci.yml + # runs against the image from the PREVIOUS push (docker.yml bootstrap note), so this + # keeps the job green across image-content changes; a no-op once the image has them. + - name: GTK4/libadwaita/SDL3 dev packages + run: | + apt-get update + apt-get install -y --no-install-recommends libgtk-4-dev libadwaita-1-dev libsdl3-dev + # Best-effort caches (act_runner's built-in cache server). Keyed on Cargo.lock: # registry/git are download caches, target/ the incremental build. The target key # carries the rustc version — rust-toolchain.toml pins the floating "stable" diff --git a/ci/rust-ci.Dockerfile b/ci/rust-ci.Dockerfile index 35321f3..5a26e96 100644 --- a/ci/rust-ci.Dockerfile +++ b/ci/rust-ci.Dockerfile @@ -20,6 +20,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libpipewire-0.3-dev libopus-dev libwayland-dev libxkbcommon-dev \ # zerocopy link deps (GL via libglvnd, EGL, GBM) libgl-dev libegl-dev libgbm-dev \ + # punktfunk-client-linux (GTK4/libadwaita shell, SDL3 gamepads) + libgtk-4-dev libadwaita-1-dev libsdl3-dev \ && rm -rf /var/lib/apt/lists/* # libcuda link stub: the NVIDIA userspace library (no kernel module needed) provides