aengelke / instrew

A high performance LLVM-based dynamic binary instrumentation framework
GNU Lesser General Public License v2.1
223 stars 36 forks source link

add release automation #12

Closed mcrossen closed 4 months ago

mcrossen commented 4 months ago

why

The readme file doesn't give a lot of info on what dependencies (libssl, llvm, etc) are necessary to build the project. I figured it out and wanted to save others the trouble

be aware

The automation currently doesn't trigger according to any schedule; instead, there's a button in the 'actions' tab of the repo anytime you want to release a new version. It deletes the old version automatically to not count against your quota. If you want, I can change this behavior or I can set it up to automatically release weekly, monthly, when main branch is pushed or something.

I'm still somewhat new to github actions so perhaps there's a more elegant way to accomplish this. But hey, it works!

future

in the future, i think it could be cool to release ARM artifacts. To do that, either github would need to widely support ARM host types for action workflows or someone could figure out how to configure meson for cross-compilation.

mcrossen commented 4 months ago

lol I just found that you already have auto builds here so I guess the main benefit of this PR is getting releases published on github

mcrossen commented 4 months ago

I had an idea of how to improve this. don't review yet.