-
Notifications
You must be signed in to change notification settings - Fork 898
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
ci: include config_proc_macro crate in ci #5389
ci: include config_proc_macro crate in ci #5389
Conversation
In general I'm in favor of this but a few thoughts/questions:
|
It looks like the lockfile is actually out of date - see this diff in the version number of the This indicates that at some point in the past (presumably for the To prevent this in future for lockfiles generally, we should run An orthogonal question to this is: do we actually want to commit a lockfile for the
Yes, you're right, it uses Git Bash which I believe is msys based. I've updated to use the native |
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.
Huge thanks for writing the batch script for windows, doing some research into how GitHub Actions runs the bash
shell on windows, and for taking the time to test all this on CircleCI!!
An orthogonal question to this is: do we actually want to commit a lockfile for the config_proc_macro crate? As it's a library crate, not a binary, this is actually in opposition to general cargo guidance
Personally I'm not too sure how we want to handle this. I read through the linked article and it seems likely that we don't need to include the lockfile for the config_proc_macro
crate.
That being said, I'm happy to move forward with the proposed changes and defer the lockfile discussion to a future PR
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.
I'd have been fine with keeping the windows content inline in the Actions Workflow definition as it's not needed in other jobs and I'm not worried about changing CI engines any time soon.
However, let's give it a whirl since you spent the time and effort to get it working 😁 (I have some nightmares from Windows-scripting days too)
As for the proc macro lockfile, I'm not too concerned about it one way or the other. We've no intentions of publishing it as a standalone lib crate on crates, so the only consumers of interest are those in-repo. It probably could still be dropped, but not a high priority and would also need to be considered in the context of building both in this repository and in r-l/rust builds |
Found while working on #5379
config_proc_macro
, as suggested by @ytmimi config_type: add unstable_variant attribute #5379 (comment)config_proc_macro
crate in CI