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

GL testing on the CIs #207

Closed
mosra opened this issue Jun 8, 2017 · 2 comments
Closed

GL testing on the CIs #207

mosra opened this issue Jun 8, 2017 · 2 comments

Comments

@mosra
Copy link
Owner

mosra commented Jun 8, 2017

Moving this out of #99 so I can finally, after two years, close it and together with that also around fifteen tabs in my browser.

Currently all the CIs test only code that doesn't execute anything from OpenGL. This makes the test coverage pretty poor and also doesn't uncover accidental breakages (because locally I'm testing mainly on NV cards where the driver bugs are sparse). Possible options are:

  • Build llvmpipe Mesa on Travis and use it as a software GL driver (needs whitelisting for quite a bunch of X11 packages which will take ages). I should test this locally first.
  • Build SwiftShader on Travis or AppVeyor and use it as a software GL driver. It's a Google code, so I assume ugly buildsystem issues like the ones in Build for ANGLE on AppVeyor #206. Ugh.
  • Maybe there is a CI that provides headless GPU virtualization?

Links:

@mosra mosra self-assigned this Jun 8, 2017
@mosra mosra mentioned this issue Jun 8, 2017
26 tasks
@mosra mosra added this to TODO in Project management Jun 16, 2017
@mosra mosra added this to the 2018.0d milestone Oct 15, 2018
@mosra
Copy link
Owner Author

mosra commented Oct 15, 2018

Some early SwiftShader bugs were fixed lately, which should make this doable. Initial plan is to host a SwiftShader binary on ci.magnum.graphics and testing with that one. Should bump code coverage from 51% to over 80%.

@mosra mosra modified the milestones: 2019.01, 2019.0b Jan 29, 2019
@mosra
Copy link
Owner Author

mosra commented Mar 7, 2019

Done as of d2d7ee7, mosra/magnum-integration@deb8c45, mosra/magnum-extras@02e9c5d ... and since 834c5fe and mosra/magnum-plugins@e6f8792, no GL testing needs to be done for the plugins as they are all now completely independent on the GPU API used -- which also reduces the CI running time for them to less than 1/3.

🎉 🍻

@mosra mosra closed this as completed Mar 7, 2019
Project management automation moved this from TODO to Done Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant