Skip to content

Commit 6701137

Browse files
committed
Try split build and run
1 parent 5f845b7 commit 6701137

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.yamato/upm-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,11 @@ test_Android_{{ editor.version }}:
105105
- curl -s {{ utr.url_win }} --output utr.bat
106106
- pip install unity-downloader-cli --index-url {{ artifactory.production }}pypi/pypi/simple --upgrade
107107
- unity-downloader-cli -c Editor -c Android -u {{ editor.version }} --wait --fast
108+
- utr.bat --testproject=.MyTestProject --editor-location=.Editor --suite=playmode --platform=android --scripting-backend=mono --artifacts_path=upm-ci~/test-results/android --timeout=900 --extra-editor-arg="-upmNoDefaultPackages" --player-save-path=build/players --build-only
108109
- |
109110
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
110111
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
111-
utr.bat --testproject=.MyTestProject --editor-location=.Editor --suite=playmode --platform=android --scripting-backend=mono --artifacts_path=upm-ci~/test-results/android --timeout=900 --extra-editor-arg="-upmNoDefaultPackages"
112+
utr.bat --testproject=.MyTestProject --editor-location=.Editor --suite=playmode --platform=android --scripting-backend=mono --artifacts_path=upm-ci~/test-results/android --timeout=900 --player-load-path=build/players
112113
after:
113114
- start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
114115
- powershell %ANDROID_SDK_ROOT%\platform-tools\adb.exe logcat -d > upm-ci~/test-results/android/android_device_log.txt
@@ -140,7 +141,8 @@ test_iOS_{{ editor.version }}:
140141
- chmod u+x utr
141142
- pip install unity-downloader-cli --index-url {{ artifactory.production }}pypi/pypi/simple --upgrade
142143
- unity-downloader-cli -c Editor -c iOS -u {{ editor.version }} --wait --fast
143-
- ./utr --testproject=.MyTestProject --editor-location=.Editor --suite=playmode --platform=ios --artifacts_path=upm-ci~/test-results/ios --extra-editor-arg="-playerHeartbeatTimeout 900" --timeout=900 --extra-editor-arg="-upmNoDefaultPackages"
144+
- ./utr --testproject=.MyTestProject --editor-location=.Editor --suite=playmode --platform=ios --artifacts_path=upm-ci~/test-results/ios --timeout=900 --extra-editor-arg="-upmNoDefaultPackages" --player-save-path=build/players --build-only
145+
- ./utr --testproject=.MyTestProject --editor-location=.Editor --suite=playmode --platform=ios --artifacts_path=upm-ci~/test-results/ios --timeout=900 --player-load-path=build/players
144146
artifacts:
145147
packages:
146148
paths:

0 commit comments

Comments
 (0)