test_editors: - version: 2018.4 - version: 2019.3 --- {% for editor in test_editors %} test_mac_standalone_{{ editor.version }}: name: Test Mac Standalone {{ editor.version }} agent: type: Unity::VM::osx image: ml-agents/ml-agents-bokken-mac:0.1.4-492264 flavor: i1.small variables: UNITY_VERSION: {{ editor.version }} commands: - pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple - python -u -m ml-agents.tests.yamato.standalone_build_tests - python -u -m ml-agents.tests.yamato.standalone_build_tests --scene=Assets/ML-Agents/Examples/Basic/Scenes/Basic.unity - python -u -m ml-agents.tests.yamato.standalone_build_tests --scene=Assets/ML-Agents/Examples/Bouncer/Scenes/Bouncer.unity - python -u -m ml-agents.tests.yamato.standalone_build_tests --scene=Assets/ML-Agents/Examples/WallJump/Scenes/WallJump.unity triggers: cancel_old_ci: true changes: only: - "com.unity.ml-agents/**" - "Project/**" - ".yamato/standalone-build-test.yml" except: - "*.md" - "com.unity.ml-agents/*.md" - "com.unity.ml-agents/**/*.md" artifacts: logs: paths: - "artifacts/standalone_build.txt" standalonebuild: paths: - "artifacts/testPlayer*/**" {% endfor %}