-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Build pipelines for OSX on Yamato (#13)
* Test repo config with a Hello world * Add build OSX player job defs * Add Build all job * Remove useless utr arg * Update commands * Add log to artifacts and update command * Update dependencies name in the build all job * Remove unsupported unity version * Remove useless lines
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
editors: | ||
- version: trunk | ||
- version: 2021.1 | ||
- version: 2020.3 | ||
os_versions: | ||
- version: 10.14 | ||
type: Unity::metal::macmini | ||
image: slough-ops/macos-10.14-xcode:stable | ||
flavor: m1.mac | ||
- version: 10.15 | ||
type: Unity::VM::osx | ||
image: desktop/unity-macos-10.15-xcode-12.2:stable | ||
flavor: m1.mac | ||
|
||
--- | ||
|
||
{% for editor in editors %} | ||
{% for os_version in os_versions %} | ||
|
||
Build_Test_Player_OSX_{{os_version.version}}_{{ editor.version }}: | ||
name: Build_Test_Player_OSX_{{os_version.version}} on version {{ editor.version }} | ||
agent: | ||
type: {{ os_version.type }} | ||
image: {{ os_version.image }} | ||
flavor: {{ os_version.flavor }} | ||
commands: | ||
- brew tap --force-auto-update unity/unity git@github.cds.internal.unity3d.com:unity/homebrew-unity.git | ||
- brew install unity/unity/unity-downloader-cli | ||
- unity-downloader-cli -u {{editor.version}} -c editor -c il2cpp --wait --published-only | ||
- .Editor/Unity.app/Contents/MacOS/Unity -batchmode -nographics -projectPath . -buildOSXUniversalPlayer player/player.app -logfile Unity.log -quit | ||
artifacts: | ||
player: | ||
paths: | ||
- player/** | ||
logs: | ||
paths: | ||
- Unity.log | ||
|
||
{% endfor %} | ||
{% endfor %} | ||
|
||
Build_All_Test_Players_OSX_Metal: | ||
name: Build all test players OSX Metal | ||
dependencies: | ||
{% for editor in editors %} | ||
{% for os_version in os_versions %} | ||
- path: .yamato/build_test_player-OSX-Metal.yml#Build_Test_Player_OSX_{{os_version.version}}_{{ editor.version }} | ||
rerun: always | ||
{% endfor %} | ||
{% endfor %} |