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.js
intoSCAII/viz/js
andscaii_pb2.py
,cfg_pb2.py
,viz_pb2.py
intoSCAII/glue/python/scaii/protos/
- In Sky_RTS, this script will find the directory containing
sky-rts.proto
. It will then outputsky_rts_pb2.py
intoSky-RTS/game_wrapper/python/protos/
.
- In SCAII, this script will find the directory containing