-
Notifications
You must be signed in to change notification settings - Fork 968
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
Standalone Example Infrastructure #6858
Standalone Example Infrastructure #6858
Conversation
70a3cb6
to
e82b409
Compare
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.
Nice. There's just one line that needs to be fixed.
There's actually an issue with this anyway, breaking changes wont' compile in the cargo-generate job. Let me fix this |
23364fb
to
b816249
Compare
You might consider a naming convention that will sort nicely and allow for more than nine sorted examples. e.g. |
b816249
to
798f2f6
Compare
Current plan was like 3 standalone examples, but chucking a 0 on there wouldn't hurt, we definnitely won't hit 99. Thanks @aloucks |
798f2f6
to
67e56ab
Compare
Fix Generate Fix? 17th Time's The Charm Fix Build See Eye Docs Victory Tabular Formatting Formating3
67e56ab
to
3aa4871
Compare
This gives us a fully standalone hello-compute example and sets up the infrastructure for having more completely standalone examples.
As part of the move, I separated all the existing examples into a separate file. This PR should be reviewed commit by commit, as the first two commits are bookkeeping and removals and the last commit is the new rewritten standalone compute job.
In order to ensure that the extracted examples remain compilable, adds a CI job that uses
cargo-generate
to extract the example, then compiles it. This does not ensure that it runs as we'd need infrastructure for that which we don't want to include in the example.