Skip to content

Commit

Permalink
ci: snap: optimise gotk3 dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
yktoo committed Oct 4, 2023
1 parent 2975365 commit fdcccd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:

test:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Verify format
run: test `gofmt -l . | wc -l` = 0

- name: Test
- name: Unit test
run: |
export DISPLAY=:99.0
sudo /usr/bin/Xvfb $DISPLAY &>/dev/null &
Expand Down
8 changes: 1 addition & 7 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,7 @@ parts:
- git
- gcc
- gettext
# gotk3 deps
- libgtk-3-0
- libgraphite2-3
- libpixman-1-0
- libpango-1.0-0
- libx11-xcb1
- libcairo2
- libgtk-3-dev # gotk3 dependency

override-pull: |
snapcraftctl pull
Expand Down

0 comments on commit fdcccd0

Please sign in to comment.