Skip to content

Commit 32d7e00

Browse files
authored
Merge pull request #153 from Unity-Technologies/update-ci-versions
Update CI versions
2 parents ce9c2a5 + 2e685aa commit 32d7e00

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

.yamato/upm-ci.yml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
test_editors:
22
- version: trunk
3+
- version: 2022.1
34
- version: 2021.2
4-
- version: 2021.1
55
- version: 2020.3
66
- version: 2019.4
77

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
159
ios_test_editors:
1610
- version: trunk
11+
- version: 2022.1
1712
- version: 2021.2
18-
- version: 2021.1
1913
- version: 2020.3
2014

2115
test_platforms:
@@ -85,7 +79,7 @@ test_{{ platform.name }}_{{ editor.version }}:
8579
{% endfor %}
8680
{% endfor %}
8781

88-
{% for editor in android_test_editors %}
82+
{% for editor in test_editors %}
8983
test_Android_{{ editor.version }}:
9084
name: Test {{ editor.version }} on Android
9185
agent:
@@ -104,10 +98,11 @@ test_Android_{{ editor.version }}:
10498
- curl -s {{ utr.url_win }} --output utr.bat
10599
- pip install unity-downloader-cli --index-url {{ artifactory.production }}pypi/pypi/simple --upgrade
106100
- 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
107102
- |
108103
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
109104
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
111106
after:
112107
- start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
113108
- 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 }}:
123118
test_iOS_{{ editor.version }}:
124119
name: Test {{ editor.version }} on iOS
125120
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
129126
commands:
130127
- brew tap --force-auto-update unity/unity [email protected]:unity/homebrew-unity.git
131128
- brew install unity-config
@@ -139,7 +136,8 @@ test_iOS_{{ editor.version }}:
139136
- chmod u+x utr
140137
- pip install unity-downloader-cli --index-url {{ artifactory.production }}pypi/pypi/simple --upgrade
141138
- 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
143141
artifacts:
144142
packages:
145143
paths:
@@ -173,13 +171,11 @@ test_trigger:
173171
{% for platform in test_platforms %}
174172
- .yamato/upm-ci.yml#test_{{ platform.name }}_{{ editor.version }}
175173
{% endfor %}
174+
- .yamato/upm-ci.yml#test_Android_{{ editor.version }}
176175
{% endfor %}
177176
{% for editor in ios_test_editors %}
178177
- .yamato/upm-ci.yml#test_iOS_{{ editor.version }}
179178
{% endfor %}
180-
{% for editor in android_test_editors %}
181-
- .yamato/upm-ci.yml#test_Android_{{ editor.version }}
182-
{% endfor %}
183179

184180
publish:
185181
name: Publish to Internal Registry

0 commit comments

Comments
 (0)