VT_Player/third_party/gotk3/.github/workflows/linux.yml
Stu d4efa91ce1 Add vendored gotk3 GTK3 bindings for Go
Vendor gotk3 library to ensure consistent GTK3 bindings across
environments and simplify dependency management.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-15 05:40:43 -05:00

37 lines
776 B
YAML

name: Build and test on Linux
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Install Dependencies
run: |
sudo apt update
sudo apt install libgtk-3-dev libcairo2-dev libglib2.0-dev
- name: Print versions
run: |
echo glib: $(pkg-config --modversion glib-2.0)
echo gdk: $(pkg-config --modversion gdk-3.0)
echo gtk: $(pkg-config --modversion gtk+-3.0)
- name: Build
run: go build --tags=glib_deprecated -v ./...
# - name: Test
# run: go test -v --tags=glib_deprecated -v ./...