CI - generator script for cmake and github actions
First iteration of proposal of CI generator script for cmake and github actions.
The script will generate a yaml file for github actions, currently different combinations of build settings and desktop x86|x64 is built.
There is plenty of todo that is not considered in this commit:
- autotools support
- meson support
- gitlab support
- ios, android, arm
- custom scripts (whitespace check etc.) etc.
Not sure, why the actions is not showing up here. They might need to be activated. Here is actions running on my fork.
https://github.com/xnorpx/opus/actions/runs/376994457
@rillian @mark4o
Looks like github actions needs to be activated, they run fine as pr in my fork.
@rillian I think the autogenerating as CI step is probably just gonna add complexity, maybe easy todo in one ci system but hard in another etc. However, maybe we can add a actual CI step that runs the generation on the CI server and do a diff on the generated files to make sure they are updated and commited, this should work across CI systems (assuming they have python) and can act as a sanity check.
I have some work to catch up to after holiday so will work on this end of week hopefully.
I will look into verification of the generation and I have some other todos I would like to polish i.e. no merge yet.