-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fix python build #264
Fix python build #264
Conversation
Hi there, this is jenkins continuous integration... |
00a4c35
to
debd5cb
Compare
- run tests with pytest - run on ubuntu runner directly
- run tests with pytest - run on ubuntu runner directly
d778276
to
8e5e0fd
Compare
ok to test |
launch jenkins |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
.github/workflows/CI.yml
Outdated
|
||
- name: clean up | ||
run: pip uninstall --yes serialbox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? Is this explicitly testing that uninstall doesn't break?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't know whether this makes sense, I added it because of the caching. I don't want the serialbox installation to be cached.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no caching. Maybe let's remove then, as later we might be confused why it's there.
Added
${ORIGIN}
to the buildrpath
for python buildwhen running the python build with pip
the cmake build target is run, after that the shared libraries are copied from the build folder to
site_packages
folder of the python environment. Adding${ORIGIN}
to therpath
allowscdll.LoadLibrary
to find dependent libraries in the current folder.