浏览代码

fix command line flags.

/develop/update-grpc
Christopher Goy 4 年前
当前提交
2dabba2d
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 7
      ml-agents/tests/yamato/standalone_build_tests.py

7
ml-agents/tests/yamato/standalone_build_tests.py


from .yamato_utils import get_base_path, run_standalone_build
def main(scene_path, build_target):
def main(scene_path, build_target, mlagents_scripting_backend):
base_path = get_base_path()
print(f"Running in base path {base_path}")

output_path=executable_name,
scene_path=scene_path,
build_target=build_target,
scripting_backend=mlagents_scripting_backend,
log_output_path=None, # Log to stdout so we get timestamps on the logs
)

"--build-target", default="mac", choices=["mac", "linux", "ios", "webgl"]
)
parser.add_argument(
"--scripting-backen", default="mono", choices=["mono", "il2cpp"]
"--mlagents-scripting-backend", default="mono", choices=["mono", "il2cpp"]
main(args.scene, args.build_target)
main(args.scene, args.build_target, args.mlagents_scripting_backend)
正在加载...
取消
保存