This concludes artifacts build using Github Actions.
I've created:
compile_pre
compile_post
Dockerfile for builder - maybe useful for someone to avoid installing all components
github action that build artifacts
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.
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.