forked from Leak_Technologies/VideoTools
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>
37 lines
776 B
YAML
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 ./...
|