-
Notifications
You must be signed in to change notification settings - Fork 405
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
Run Linux & Windows screenshot tests via lavapipe
software rasterizer
#8620
Conversation
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
Latest documentation preview deployed successfully.
Note: This comment is updated whenever you push a commit. |
llvmpipe
software rasterizerlavapipe
software rasterizer
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/12694704438 |
26f6c59
to
ac927bd
Compare
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/12695361164 |
ac927bd
to
25206ca
Compare
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/12696447614 |
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.
Awesome! Finally Clement can start contributing to the UI :)
# TODO(andreas): It would be nice if `setup_software_rasterizer.py` could do that for us as well (note though that this action here is very fast when cached!) | ||
- name: Install Vulkan SDK |
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.
Once this PR is merged, we should test this path with a new "external" PR
07c3ba5
to
f8f844f
Compare
Related
What
Enables screenshot tests on Linux & Windows ci using Mesa lavapipe (the Vulkan version of llvmpipe) software rasterizer.
Uses wgpu's Mesa build https://github.com/gfx-rs/ci-build (thanks @cwfitzgerald!)
ICD driver file discovery & how to best download the Vulkan SDK was giving me a bit of a headache (via apt as done on wgpu's ci was very slow for some reason and wgpu only does GL software rasterizing on Windows). But it's all figured out now & documented in the setup script :). The process can be replicated locally the same way, but has a bit of "you better know what you're doing" to it as the driver setup is a little bit invasive to account for elevated user access ([...] see comments).
Changes to our CI pipelines overall:
--all-targets --all-features
instead of both that and with just--all-targets
cargo test --all-targets --all-features
not only on Mac but also on Windowspixi run rs-check
not only on Linux but also on Windows & Mac