From e6cdd27fd084a1c448167ea3af3e0603766fe80a Mon Sep 17 00:00:00 2001 From: Reese Norris Date: Wed, 29 Jul 2026 10:17:17 -0400 Subject: [PATCH] ci: install Fyne OpenGL/X11 deps for openfsd-client race tests go test ./... builds the Fyne GUI packages; Ubuntu runners need libgl and X11 headers or openfsd-client fails to compile. --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99bd660..97ce2e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,13 @@ jobs: with: # Node 20 is EOL on GHA runners; pin current Actions default (24). node-version: "24" + # Fyne (openfsd-client GUI) needs OpenGL + X11 headers for CGO on Linux. + - name: Fyne / OpenGL build deps + run: | + sudo apt-get update + sudo apt-get install -y \ + libgl1-mesa-dev xorg-dev libxcursor-dev libxrandr-dev \ + libxinerama-dev libxi-dev libxxf86vm-dev pkg-config - name: gofmt run: test -z "$(gofmt -l .)" - name: Hygiene (no panic/reflect/fmt.Print in library code)