mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-20 23:59:55 +00:00
[ci] Switch CI deps to GTK4 / WebKitGTK 6.0
Wails v3 alpha.94 switched its default Linux backend from GTK3 + WebKit2GTK 4.1 to GTK4 + WebKitGTK 6.0 (the GTK3 path is now gated behind a `gtk3` build tag). cgo files that the binary, the tests, and the lint job all parse now request `pkg-config --cflags gtk4 webkitgtk-6.0 ...`, so the existing libgtk-3-dev + libwebkit2gtk-4.1 apt deps no longer satisfy them — lint, unit tests, and the linux release build all fail with `Package 'gtk4' ... not found`. Replace the apt deps across the four workflows that build/lint the client tree (golangci-lint, golang-test-linux, release, and the wasm lint job that also walks client/) with libgtk-4-dev + libwebkitgtk-6.0-dev + libsoup-3.0-dev. Both packages are available from jammy (22.04 LTS) onwards, so existing ubuntu-22.04 runners stay valid.
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -360,7 +360,7 @@ jobs:
|
||||
version: 9
|
||||
|
||||
- name: Install dependencies
|
||||
run: sudo apt update && sudo apt install -y -q libgtk-3-dev libwebkit2gtk-4.1-dev libsoup-3.0-dev libayatana-appindicator3-dev gcc-mingw-w64-x86-64
|
||||
run: sudo apt update && sudo apt install -y -q libgtk-4-dev libwebkitgtk-6.0-dev libsoup-3.0-dev libayatana-appindicator3-dev gcc-mingw-w64-x86-64
|
||||
|
||||
- name: Decode GPG signing key
|
||||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
|
||||
|
||||
Reference in New Issue
Block a user