Common continuous integration scripts for all SCAII environments and libraries
General-purpose protobuf compile scipt for SCAII and Sky-RTS. Requires Python 3
- Clone SCAII and Sky-RTS repos into desired location
- Clone this repo (CI) into both SCAII and Sky-RTS
- Execute this script with command
python gen_protos.py- In SCAII, this script will find the directory containing
scaii.proto,cfg.proto, andviz.proto. It will then outputvizProtos.jsintoSCAII/viz/jsandscaii_pb2.py,cfg_pb2.py,viz_pb2.pyintoSCAII/glue/python/scaii/protos/ - In Sky_RTS, this script will find the directory containing
sky-rts.proto. It will then outputsky_rts_pb2.pyintoSky-RTS/game_wrapper/python/protos/.
- In SCAII, this script will find the directory containing