-
Notifications
You must be signed in to change notification settings - Fork 7
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 CI tests for all versions of rust-gpu
that we support
#39
Comments
I'm in favor of this, though I don't think we need to worry about github minutes just yet. The main priority is saving us developer time. |
Great, I've almost got this done. But there's a topic I'd like to bring up to see what you think. Basically, how many historical versions should we support? Let me give you 2 notable data points to contextualise:
My feeling is that we should aim to support as many previous More concretely, if we can say aim to support versions up to 2 years old, then that'd be great. |
I think this would be great, and given the release cadence of I'm wary of committing to an arbitrary number, though, and would rather take it on a step-by-step basis. I don't mind dropping support for an older version if that version takes lots of maintenance, because we simply don't have the resources. 2 years back roughly means 2 versions back (one at the current rate). But we also may get lucky and future versions won't take that much wrangling. We'll see 🤷 . |
Great, let's do that then. With #41 we prove that we support 0.8.0, which is 18 months ago. We'd need to go back to 0.5.0 to get a full 2 years compatibility. So let's find the balance and say that 0.8.0 is good for the moment. |
Well I think it's fine to start with |
We currently only test the latest supported version of
rust-gpu
, or at least the version that is pinned in theCargo.lock
file ofshader-crate-template
. This meant that a regression wasn't caught in #34 (see #34 (comment) for details).I propose that we also test a version of
shader-crate-template
that uses the pre-cargo-cpu
version ofrust-gpu
/spirv-builder
, namely thev0.9.0
tag. And that, in the future, when more changes are made to thespirv-builder
API, we test those versions as well.I think the way to do it is to add the new test to the
ubuntu-latest
Workflow matrix, that way we're not doubling Github Action minutes and we're still getting test parallelism, so no build time increases. Let's hope there aren't significant differences in thespirv-builder
changes between OS's, so that it's enough just to test on Linux.The text was updated successfully, but these errors were encountered: