diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index bf1e7a3..0cf6f8e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,12 +15,16 @@ jobs: go-version-file: go.mod # cmd/gui (Fyne) uses cgo and links against the system's OpenGL/X11 - # libraries, so building or testing ./... needs these present even - # though the GUI itself never opens a window in CI. + # *and* Wayland libraries (go-gl/glfw compiles in both backends), so + # building or testing ./... needs all of these present even though + # the GUI itself never opens a window in CI. Found by a real failure + # here, not guessed: go vet failed with "wayland-client-core.h: No + # such file or directory" when only libgl1-mesa-dev/xorg-dev were + # installed. - name: Install system dependencies for the Fyne GUI build run: | sudo apt-get update - sudo apt-get install -y libgl1-mesa-dev xorg-dev + sudo apt-get install -y libgl1-mesa-dev xorg-dev libwayland-dev libxkbcommon-dev - name: gofmt run: | diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ab73d47..ee11e9c 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -84,7 +84,7 @@ jobs: include: - goos: linux goarch: amd64 - packages: libgl1-mesa-dev xorg-dev + packages: libgl1-mesa-dev xorg-dev libwayland-dev libxkbcommon-dev - goos: windows goarch: amd64 packages: gcc-mingw-w64-x86-64