mirror of
https://github.com/renorris/openfsd
synced 2026-08-12 12:25:40 +08:00
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.
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user