roleoroleo / sonoff-hack

Custom firmware for Sonoff GK-200MP2B camera
GNU General Public License v3.0
200 stars 45 forks source link

CI/DC using Github Actions #51

Closed shafr closed 3 years ago

shafr commented 3 years ago

This concludes artifacts build using Github Actions.

I've created:

which are basically same as compile.sh, but were intended to be used in matrix / parallel build & also using GITHUB_WORFLOW paths instead of hardcoded one.

It takes 15 minutes on average for build to finish.

Performance

I've tried also parallel build where all modules are built as artifacts, but it does not make much sense, since one module takes most of the time, so there is not much time saving, but a lot of hassle instead.

Maybe when there would be a lot of modules it would make sense.

Also, it does not makes much sense in caching anything, since it's mostly 20 seconds of time total for builder dependencies to be installed.