rust-embedded / svd2rust

Generate Rust register maps (`struct`s) from SVD files
Apache License 2.0
687 stars 149 forks source link

ci: add action to build and release binaries #607

Closed duskmoon314 closed 2 years ago

duskmoon314 commented 2 years ago

close #597

rust-highfive commented 2 years ago

r? @adamgreig

(rust-highfive has picked a reviewer for you, use r? to override)

duskmoon314 commented 2 years ago

Haven't written CHANGELOG yet.

An example of the result is here. Maybe there is no need to build daily. Just copy the idea from rust-analyzer

burrbull commented 2 years ago
  • Execute daily and attach to pre-release nightly

What sense of daily builds?

* Allow manual execution

How this works?

duskmoon314 commented 2 years ago

What sense of daily builds?

Execute every day at 00:00 UTC

* Allow manual execution

How this works?

I add workflow_dispatch to the trigger of action. So there is a button on the page of actions that will trigger once it is clicked.

image

Maybe not necessary either. I add this in order to ease the usage at first but it seems not very useful actually.

burrbull commented 2 years ago

Execute every day at 00:00 UTC

This is not linux or rustc repo with hundred commits a day. What sense in daily builds?

duskmoon314 commented 2 years ago

Execute every day at 00:00 UTC

This is not linux or rustc repo with hundred commits a day. What sense in daily builds?

You are right. I also think this is unnecessary.

duskmoon314 commented 2 years ago

Remove daily build trigger.

burrbull commented 2 years ago

update changelog, please

burrbull commented 2 years ago

rebase on master, please

burrbull commented 2 years ago

bors r+

bors[bot] commented 2 years ago

Build succeeded:

burrbull commented 2 years ago

Also title should include date and commit