-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add workflow to run tests with pixi #214
Conversation
.github/workflows/test-pixi.yml
Outdated
schedule: | ||
# * is a special character in YAML so you have to quote this string | ||
# Execute a "nightly" build at 2 AM UTC | ||
- cron: '0 2 * * *' |
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.
If you want to run a schedule job, could it make sense to delete the lock file for those? Otherwise we would be testing just GitHub Actions-images related regressions, that even if possible are not really frequent in my experience. See https://github.com/robotology/whole-body-estimators/blob/80d45bf79c5e4be3c7f83e0bec8f2cdfef48caab/.github/workflows/pixi-ci.yml#L30-L35 for example.
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.
Ok understood. Meanwhile, I'm thinking about just running these actions on pull requests, that is the original scope for this kind of action.
I see that we have a failure:
We can fix this by adding a dependency on |
The Windows failure is tracked in #205, probably we can just skip the test on Windows at the action level? |
- Exclude Windows tests temporarily - Run this workflow only manually and on PRs
Make `libgl-devel` a dependency only for Linux targets
@traversaro, what do you think is the most appropriate thing to do between running the action against the |
It depends. If the action is trigged by a pull request, we should keep the |
Now the pixi test on ubuntu is failing with a different error always related to OpenGL:
|
We need also libopengl-devel : https://github.com/conda-forge/libglvnd-feedstock/blob/main/recipe/meta.yaml#L66 . This will not be needed once we migrate gz-* conda packages to use these packages instead of CDTs packages. |
Probably also libegl-devel will be needed. |
Now we have this 😅
|
I think that is ok. CI needs to have at least an EGL driver (even software only) installed, and that is supposed to be installed via apt, as it is a driver of the system. |
Ok, installing all the packages that we installed in the CI of conda worked fine, but let's try to be a bit more methodical. The conda-forge package In particular, to run the mesa software implementation of OpenGL, it needs to find the
The .icd file refers to the
So, for sure we can try to first install
so
So indeed by installing |
70c1e78
to
1933ae0
Compare
After:
if we update the packages to use this latest builds, it should be not necessary anymore to manually add the |
Thanks a lot, @traversaro for you time and effort. This, apart from solving this particular issue, taught me how to solve the next ones! |
Yes, unfortunately the related section in the conda-forge docs (https://conda-forge.org/docs/maintainer/knowledge_base/#when-should-cdts-be-used) is outdated, we need to eventually fix that. |
Ok so when both these PR will be merged we could eventually update our |
Yes, we need to make sure that those build are the one actually installed and not older versions for some reason. Anyhow, for some time we can just keep the |
1933ae0
to
65e9ca1
Compare
Squashed some minor commits. Merging 🚀 |
Closes #213