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

Get tgen working on all shadow-supported platforms #20

Merged
merged 2 commits into from
Dec 10, 2021

Conversation

sporksmith
Copy link
Contributor

@sporksmith sporksmith commented Dec 8, 2021

Adds a platform matrix to the CI that tests the same set of platforms as in Shadow.

Fixes the build for igraph 0.9+, which is the default on fedora:34

@sporksmith sporksmith marked this pull request as ready for review December 8, 2021 01:53
src/tgen-markovmodel.c Outdated Show resolved Hide resolved
@sporksmith sporksmith changed the title Replace usage of private igraph_i_attribute_gettype Get tgen working on all shadow-supported platforms Dec 9, 2021
Copy link
Member

@robgjansen robgjansen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sporksmith
Copy link
Contributor Author

Thanks! Could you change the required checks to be the new parameterized tests instead of the old one?

@robgjansen
Copy link
Member

Yep, just noticed that - done now!

This fixes the build for igraph 0.9.0+, in which
`igraph_i_attribute_gettype` has been removed:
igraph/igraph@463cc7c

`igraph_cattribute_table.gettype` appears to be the only viable
alternative. It looks like it's intended to be called by igraph itself,
not by users of igraph, but there doesn't appear to be any other API for
checking attribute types.
@sporksmith sporksmith merged commit baceb21 into shadow:main Dec 10, 2021
@sporksmith sporksmith deleted the handle-igraph-0.9 branch December 10, 2021 16:57
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