Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vg/vggio: first import of a Gio-backed canvas #628

Merged
merged 5 commits into from
Jun 19, 2020

Conversation

sbinet
Copy link
Member

@sbinet sbinet commented Jun 19, 2020

Updates #627.

@sbinet
Copy link
Member Author

sbinet commented Jun 19, 2020

done.

@sbinet
Copy link
Member Author

sbinet commented Jun 19, 2020

the lint failure (unable to inspect a dependency that uses cgo) is annoying.
it seems related to golangci/golangci-lint#827 that has been closed...

not sure what to do at this point.

kortschak
kortschak previously approved these changes Jun 19, 2020
vg/vggio/vg.go Outdated Show resolved Hide resolved
@kortschak
Copy link
Member

The golangci-lint failure is irritating. I will file an issue to them about that later.

@kortschak
Copy link
Member

I think I understand this failure; the GitHub action that runs golangci-lint does not have the Cgo dependencies installed (the travis build does, but it's independent). You will need to have pre-install step in a .golangci.yml file that installs those deps, see https://github.com/gonum/gonum/blob/master/.github/workflows/golangci-lint.yml and then adding something like

- name: cgo-dependencies
  run: sudo apt install pkg-config libgles2-mesa-dev libxkbcommon-dev libxkbcommon-x11-dev

@sbinet sbinet merged commit 57b3081 into gonum:master Jun 19, 2020
@sbinet sbinet deleted the vg-gio-img branch June 19, 2020 10:28
@sbinet
Copy link
Member Author

sbinet commented Jun 19, 2020

nice catch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants