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

Added non release (dev) shader build #52

Merged
merged 2 commits into from
Nov 11, 2024
Merged

Conversation

zanciks
Copy link
Contributor

@zanciks zanciks commented Nov 10, 2024

Hey all! First time contributor (to any open-source project!!!!)

I saw issue #40 and decided to try and see if I could get an action added. I've pretty much just added another example (also runs example-runner-wgpu-builder) but left out --release.

I was a bit unsure about the OUT_DIR environment variable, and if it was necessary (not even sure why it's there for the existing example run?) but I assumed it should remain for consistency.

On top of that, I was going to look at adding a dev profile build for android, but it seems that cargo-apk is outdated, and the maintainers of the project recommend xbuild, though I am unsure if profiles (--release) are forwarded to cargo or not. Will have to play around with it.

I'm also unsure if I'm able to run actions on my fork of this repo for before submitting this, so its possible that it will return an error, but at first glance it seems fine.

Thanks!

Updated ci.yaml to include a cargo build/run of example-runner-wgpu-builder in a dev profile (no --release)
@LegNeato
Copy link
Collaborator

Awesome, thank you so much for the change and welcome to open source contributing! 🍻 Your change will help catch issues in the future, saving many people time and effort 🎉.

I have made it so CI will now run on this PR, let's see how it goes...the change looks great to me.

@LegNeato
Copy link
Collaborator

LegNeato commented Nov 10, 2024

Ah yes, silly me. #40 was created because of #29. So, running this in CI now (correctly) exposes #29 😆 .

We have 2 paths forward:

  1. We can update this to not run on mac (for now) and file a task to enable it when Update to a newer nightly #50 is fixed. Running it still has value as it may catch issues on windows / linux.
  2. Keep this in limbo until Update to a newer nightly #50 is fixed and then land it shortly after.

@zanciks , your call!

@zanciks
Copy link
Contributor Author

zanciks commented Nov 10, 2024

Yeah, I think we can go on with the first route! I'll add a commit here in a moment to block the test on both aarch64-linux-android, and now x86_64-apple-darwin!

Edit: Commit added

Copy link
Collaborator

@LegNeato LegNeato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again!

@LegNeato LegNeato requested review from LegNeato and removed request for eddyb and fornwall November 10, 2024 23:54
@LegNeato LegNeato added this pull request to the merge queue Nov 10, 2024
Merged via the queue into Rust-GPU:main with commit 9be942e Nov 11, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants