Merge pull request #915 from cubiest/paned-patch #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ./... |