Closed n0toose closed 3 weeks ago
Sharing some screenshots that shows that my workflow actually (hopefully) works for posterity reasons, as I will delete those test runs in a bit. I made a last-minute change where I specified flags: --target x86_64-unknown-linux-gnu
and --locked
explicitly, but it works locally so it shouldn't cause a problem in the workflow.
Could you make this a separate release.yml workflow?
I considered this, but decided to put the elements necessary for a release in the same workflow so as to take advantage of the caching (although I'm not 100% sure if it makes a difference and you told me to remove the caching anyways). Will do.
Note to self: Completely forgot about
uhyve-interface
, going to make sure that it is also packaged in the releases.
What do you mean? It's a library, not a binary. There's nothing to publish there, is it? We do crates.io releases manually, not in the CI.
What do you mean? It's a library, not a binary. There's nothing to publish there, is it? We do crates.io releases manually, not in the CI.
Sorry, just had a brief moment of, well, the opposite of clarity. I'll update you when I'm done working on the .tar.gz
task, I think that it's nearly done.
I think it's done now, I caught myself making some trivial mistakes here because I spent more time on this than I'd have liked - I think I'll call it a day with this PR for now.
Just one small thing: I packaged the binary together with a copy of the licenses and the README.md, because of convention (and because why not? ^^).
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 68.06%. Comparing base (
0ef8580
) to head (f8c845e
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
great! hoping that nothing will explode 🤞🏻
Because of time constraints and because the workflow itself may need some additional work to support multiple operating systems without making individual releases for every target architecture and operating system, builds are only generated for Linux (amd64).
New releases are marked as "Drafts" by default, so as to allow maintainers to edit the text before publication.
Fixes https://github.com/hermit-os/uhyve/issues/256