im-tomu / fomu-toolchain

A collection of tools for developing for Fomu
80 stars 11 forks source link

ci: migrate from Travis CI to GitHub Actions #18

Closed umarcor closed 3 years ago

umarcor commented 3 years ago

Similarly to the fomu-workshop, in this PR the CI infrastructure of this repo is migrated from Travis CI to GitHub Actions.

The artifacts of each workflow run are uploaded. Hence, users can retrieve the toolchain from specific PRs or any other branch push.

Furthermore, when master or a tagged commit are pushed, the artifacts are uploaded as assets of a (pre)release. If the (pre)release does not exist, it is created. If it exists, the assets are updated and the tag is updated, but the (pre)release is not recreated. The type of the release depends on the tag:

See eine/tip for further details about the Action used for uploading artifacts as (pre)release assets.

Some other minor enhancements are applied to build.sh.

/cc @mithro