freifunk-berlin / firmware

DEPRECATED: Build system for Berlin firmware. Please user the pinned falter-repos instead
https://berlin.freifunk.net
GNU General Public License v3.0
74 stars 34 forks source link

Enable GithubActions to automatically build the firmware / Imagebuilder #839

Closed SvenRoederer closed 4 years ago

SvenRoederer commented 4 years ago

Based on #804 I evaluated several CI-solutions (https://github.com/freifunk-berlin/firmware/wiki/Continuous-integration). Based on the lack of managing such a system ourself, I effectively tested TravisCI and GitHubActions. This is my suggestion to reenable CI, with the option of CD and probably CT (fingers crossed).

I use this Github-Workflow on my repo since some months without issues. This PR implements the idea of Pr #796 in order to reduce the regular Makefile and use a specific Makefile for CI (this infact includes / reuses parts of the regular Makefile). The workflow currently just creates the imagebuilder and keeps relevant artifacts on GitHub only, but can be extended to also provide the final images.

SvenRoederer commented 4 years ago

Before merging I'm happy to cleanup / rebase.

SvenRoederer commented 4 years ago

squashed and reworded some commits and number went down to 22.