-
Notifications
You must be signed in to change notification settings - Fork 5
feat: install osmesa off-screen renderer on Windows runners #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
Conversation
Ubuntu 20.04 runners are no longer generally available AFAIK. |
Pinging @banesullivan @larsoner @akaszynski for review (sorry for the ping, I don't know if you would get the PR notification otherwise). Here is a PR were we are making use of this new approach (temporarily, until the fix is in) |
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.
Thanks for adding this changes Roberto
Co-authored-by: Sébastien Morais <[email protected]>
Looks like |
Just opened #30 |
I think maybe we should have it default to |
If I was using a Windows self-hosted runner or even a Windows GitHub runner, I would be interested indeed -- but I wanted to avoid changing critical behavior without y'all confirming that it is the right way to go =) that's why I went with the |
I expect multiple maintainer to leverage
|
Let's plan to bump to v4 once merged. Thanks all! |
This will need a follow up release. As it is, a minor (v3.3 and v3) should be fine. |
The motivation for major is that we added a behavior change that might break stuff for people. But if we can consider it safely enough as a bugfix then minor is okay |
Oh, yeah, I agree! If we set the default value to |
My vote is to set to |
Recommending the same. Set to |
Sounds good, I'll do a follow up PR tomorrow - and adapt the README |
Already opened a PR and cut a release but maybe the README still needs to be updated |
Although we were using the installer on Windows, we were not providing the osmesa.dll to the systemwide installation. This new implementation fixes it by adding it to the
install_opengl.sh
script as an optional feature (in case users want to benefit from it). By default, it is not enabled to avoid breaking changes.It also defines
VTK_DEFAULT_OPENGL_WINDOW=vtkOSOpenGLRenderWindow
which is needed to force the usage of osmesa.dll based on https://docs.vtk.org/en/latest/advanced/runtime_settings.htmlREADME has been adapted and new action inputs are created.