-
Notifications
You must be signed in to change notification settings - Fork 18
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
Make ccache optional (and more) #264
Conversation
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 still don't understand the yml surgery.
Can/should the ccache update happen in a separate yml workflow?
The downside is that `ccache` needs to be installed and configured. | ||
This happens in every run, i.e. also in runs in which `ccache` is not used because a package cache already exists. | ||
Installation can take up to 1 min, depending on the platform. | ||
Note that `ccache` won't be used on Windows since only binaries are used on this platform. |
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.
Would it even work?
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.
If there would be a compiler, it would.
But this and the burden of installing ccache
in the first place is not worth it.
Co-authored-by: Kirill Müller <krlmlr@users.noreply.github.com>
Interesting. Yeah it could probably be run in a separate workflow, maybe even just once a week. However, the builds always need to have |
fixes #261
This PR also
update_yml()
in a way that it can now handle two[Custom]
blocks in a rowtryCatch()
inupdate_yml()
that tells the user to update manually if the local template is too different compared to the latest upstream template (i.e. ifupdate_yml()
failed entirely)