opus icon indicating copy to clipboard operation
opus copied to clipboard

CI - generator script for cmake and github actions

Open xnorpx opened this issue 5 years ago • 5 comments

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.

xnorpx avatar Nov 22 '20 06:11 xnorpx

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

xnorpx avatar Nov 22 '20 06:11 xnorpx

Looks like github actions needs to be activated, they run fine as pr in my fork.

xnorpx avatar Nov 22 '20 06:11 xnorpx

@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.

xnorpx avatar Nov 30 '20 19:11 xnorpx

I have some work to catch up to after holiday so will work on this end of week hopefully.

xnorpx avatar Nov 30 '20 19:11 xnorpx

I will look into verification of the generation and I have some other todos I would like to polish i.e. no merge yet.

xnorpx avatar Dec 04 '20 06:12 xnorpx