1
1
test_editors :
2
2
- version : trunk
3
+ - version : 2022.1
3
4
- version : 2021.2
4
- - version : 2021.1
5
5
- version : 2020.3
6
6
- version : 2019.4
7
7
8
- # running test is currently broken in trunk and 2021.2
9
- android_test_editors :
10
- - version : 2021.1
11
- - version : 2020.3
12
- - version : 2019.4
13
-
14
- # Some issues with 2019.4 on iOS on Yamato, but passes locally
8
+ # 2019.4 fails due to issue unrelated to package
15
9
ios_test_editors :
16
10
- version : trunk
11
+ - version : 2022.1
17
12
- version : 2021.2
18
- - version : 2021.1
19
13
- version : 2020.3
20
14
21
15
test_platforms :
@@ -85,7 +79,7 @@ test_{{ platform.name }}_{{ editor.version }}:
85
79
{% endfor %}
86
80
{% endfor %}
87
81
88
- {% for editor in android_test_editors %}
82
+ {% for editor in test_editors %}
89
83
test_Android_{{ editor.version }} :
90
84
name : Test {{ editor.version }} on Android
91
85
agent :
@@ -104,10 +98,11 @@ test_Android_{{ editor.version }}:
104
98
- curl -s {{ utr.url_win }} --output utr.bat
105
99
- pip install unity-downloader-cli --index-url {{ artifactory.production }}pypi/pypi/simple --upgrade
106
100
- unity-downloader-cli -c Editor -c Android -u {{ editor.version }} --wait --fast
101
+ - 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
107
102
- |
108
103
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
109
104
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
110
- utr.bat --testproject=.MyTestProject --editor-location=.Editor --suite=playmode --platform=android --scripting-backend=mono --artifacts_path=upm-ci~/test-results/android --timeout=900
105
+ 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
111
106
after :
112
107
- start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
113
108
- powershell %ANDROID_SDK_ROOT%\platform-tools\adb.exe logcat -d > upm-ci~/test-results/android/android_device_log.txt
@@ -123,9 +118,11 @@ test_Android_{{ editor.version }}:
123
118
test_iOS_{{ editor.version }} :
124
119
name : Test {{ editor.version }} on iOS
125
120
agent :
126
- type : Unity::mobile::iPhone
127
- image : mobile/macos-10.13-testing:stable
128
- flavor : b1.medium
121
+ type : Unity::VM::osx
122
+ image : mobile/ios-macos-10.15:latest
123
+ flavor : i1.large
124
+ variables :
125
+ IOS_SIMULATOR_SDK : 1
129
126
commands :
130
127
-
brew tap --force-auto-update unity/unity [email protected] :unity/homebrew-unity.git
131
128
- brew install unity-config
@@ -139,7 +136,8 @@ test_iOS_{{ editor.version }}:
139
136
- chmod u+x utr
140
137
- pip install unity-downloader-cli --index-url {{ artifactory.production }}pypi/pypi/simple --upgrade
141
138
- unity-downloader-cli -c Editor -c iOS -u {{ editor.version }} --wait --fast
142
- - ./utr --testproject=.MyTestProject --editor-location=.Editor --suite=playmode --platform=ios --artifacts_path=upm-ci~/test-results/ios --extra-editor-arg="-playerHeartbeatTimeout 900" --extra-editor-arg="-upmNoDefaultPackages"
139
+ - ./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
140
+ - ./utr --testproject=.MyTestProject --editor-location=.Editor --suite=playmode --platform=ios --artifacts_path=upm-ci~/test-results/ios --timeout=900 --player-load-path=build/players
143
141
artifacts :
144
142
packages :
145
143
paths :
@@ -173,13 +171,11 @@ test_trigger:
173
171
{% for platform in test_platforms %}
174
172
- .yamato/upm-ci.yml#test_{{ platform.name }}_{{ editor.version }}
175
173
{% endfor %}
174
+ - .yamato/upm-ci.yml#test_Android_{{ editor.version }}
176
175
{% endfor %}
177
176
{% for editor in ios_test_editors %}
178
177
- .yamato/upm-ci.yml#test_iOS_{{ editor.version }}
179
178
{% endfor %}
180
- {% for editor in android_test_editors %}
181
- - .yamato/upm-ci.yml#test_Android_{{ editor.version }}
182
- {% endfor %}
183
179
184
180
publish :
185
181
name : Publish to Internal Registry
0 commit comments