Consolidates build scripts into one, with a menu, for both linux and windows.
Adds a github action that builds the FGD & copies folders over, using the new scripts. Has both linux and windows build jobs.
Action also uploads an artifact for each job which contains only the built FGDs to speed up and lower size of upload (folders are just copied and so we can get them from the repo).
Also I found that linux and windows building is not the same. Linux specifically fails to have some sphere(*)'s present in the windows build. It's either a unify_fgd.py or srctools issue, which can be remedied later. For now it'd be best to use the windows artifact if for whatever reason we need it.
Might want to make master protected now. I don't think we need a dev branch so I didn't add that as a trigger.
Closes https://github.com/ChaosInitiative/Chaos-FGD/issues/21 Closes https://github.com/ChaosInitiative/Chaos-FGD/issues/23
Consolidates build scripts into one, with a menu, for both linux and windows.
Adds a github action that builds the FGD & copies folders over, using the new scripts. Has both linux and windows build jobs. Action also uploads an artifact for each job which contains only the built FGDs to speed up and lower size of upload (folders are just copied and so we can get them from the repo).
Also I found that linux and windows building is not the same. Linux specifically fails to have some
sphere(*)
's present in the windows build. It's either aunify_fgd.py
or srctools issue, which can be remedied later. For now it'd be best to use the windows artifact if for whatever reason we need it.Might want to make master protected now. I don't think we need a dev branch so I didn't add that as a trigger.