-
-
Notifications
You must be signed in to change notification settings - Fork 10
Export VK_DRIVER_FILES
#545
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
|
@jakoch could I ask for workflow approval, to see if this even works? Don't really have any other way to test this Based on failing CI in Rust-GPU/rust-gpu#489 I assume lavapipe may fail and need further debugging |
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #545 +/- ##
==========================================
- Coverage 93.22% 91.79% -1.43%
==========================================
Files 15 15
Lines 767 780 +13
Branches 174 178 +4
==========================================
+ Hits 715 716 +1
- Misses 52 64 +12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Happy New Year! |
|
ehm... I was just asking for approval to run pipelines, not for you to merge this just yet. The pipelines were failing due to the drivers not being properly registered, and now it's in main... I'll have a try at fixing it over the next few days |
|
No worries at all! 😊 I noticed the pipelines were failing due to the VK_DRIVER_FILES registration being removed, so after merging, I went ahead and tweaked your original code a bit to restore that part. The CI is now passing: https://github.com/jakoch/install-vulkan-sdk-action/actions/runs/20733670447 Thanks again for your work on this! (The only part not tested in the CI workflow is the newly added caching behavior for both rasterizers. |
|
Thanks for the quick release! ❤️ Oh I see, you're now registering the driver from the install-vulkan-sdk-action/.github/workflows/build.yml Lines 264 to 269 in 6710ed8
Curiousity: In rust-gpu's pipeline we just set the |
|
Yes, this is still a required "external step" when using the action. In the manual VK_DRIVER_FILES is in the section "Overriding the Default Driver Discovery".
Maybe i should disable the registry step and try to get it working with VK_DRIVER_FILES only... |
the action exports `VK_DRIVER_FILES` on its own now: jakoch/install-vulkan-sdk-action#545
the action exports `VK_DRIVER_FILES` on its own now: jakoch/install-vulkan-sdk-action#545
the action exports `VK_DRIVER_FILES` on its own now: jakoch/install-vulkan-sdk-action#545
What type of change is this?
Description:
In rust-gpu's CI workflow, right after we use your action to install swiftshader, we have this extra step:
This PR upstreams setting these env vars, so you don't have to manually configure the driver yourself.
To test this properly, I've removed the manual registration from your CI, so it's relying on the action doing the configuration itself. This required adding an extra "rasterizer" column to the job matrix for lavapipe and swiftshader, instead of having both be in the same job.