@@ -9,17 +9,20 @@ Build_Player_With_Tests_iOS_{{ project.name }}_{{ editor }}:
99 name : build {{ project.name }} - {{ editor }} on iOS
1010 agent :
1111 type : Unity::VM::osx
12- image : package-ci/macos-12 :v4
12+ image : package-ci/macos-13 :v4
1313 flavor : b1.large
1414
1515 commands :
1616 - pip install unity-downloader-cli==1.2.0 --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
1717 - unity-downloader-cli -c Editor -c iOS -u {{ editor }} --fast --wait
18+ - echo "CONFIGURATION = Release" >> ~/XcodeBuildConfig.xcconfig
1819 - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
1920 - chmod +x ./utr
2021 - ./utr --suite=playmode --platform=iOS --editor-location=.Editor --testproject={{ project.path }} --player-save-path=build/players --artifacts_path=build/logs --build-only --testfilter=Unity.BossRoom.Tests.Runtime
2122 variables :
2223 UNITY_HANDLEUIINTERRUPTIONS : 1
24+ UNITY_TESTS_XCODEBUILD_TIMEOUT : 60
25+ XCODE_XCCONFIG_FILE : ~/XcodeBuildConfig.xcconfig
2326 artifacts :
2427 players :
2528 paths :
@@ -38,18 +41,19 @@ Build_Player_With_Tests_Android_{{ project.name }}_{{ editor }}:
3841 type : Unity::VM
3942 # Any generic image can be used, no need to have Android tools in the image for building
4043 # All Android tools will be downloaded by unity-downloader-cli
41- image : mobile/android-execution-base:stable
42- flavor : b1.xlarge
44+ image : mobile/android-execution-base:v2.1774381
45+ flavor : b1.large
4346
4447 commands :
4548 # Download unity-downloader-cli
46- - pip install unity-downloader-cli==1.2.0 --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
47- - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools/utr-standalone/utr.bat --output utr.bat
48- - python .yamato/disable-burst-if-requested.py --project-path {{ project.path }} --platform Android
49+ - gsudo choco source add -n Unity -s https://artifactory-slo.bf.unity3d.com/artifactory/api/nuget/unity-choco-local --priority=1
50+ - gsudo choco install -y unity-config unity-downloader-cli
51+ - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output ./utr.bat
52+ - unity-config project set registry candidates --project-path {{ project.path }}
4953 - unity-downloader-cli -c Editor -c Android -u {{ editor }} --fast --wait
54+ - python .yamato/disable-burst-if-requested.py --project-path {{ project.path }} --platform Android
5055 # Build player(s)
51- - set UTR_VERSION=0.12.0
52- - ./utr.bat --suite=playmode --platform=Android --editor-location=.Editor --testproject={{ project.path }} --player-save-path=build/players --artifacts_path=build/logs --scripting-backend=mono --build-only --testfilter=Unity.BossRoom.Tests.Runtime
56+ - ./utr.bat --suite=playmode --platform=Android --editor-location=.Editor --testproject={{ project.path }} --player-save-path=build/players --artifacts_path=build/logs --scripting-backend=il2cpp --build-only --testfilter=Unity.BossRoom.Tests.Runtime
5357 artifacts :
5458 players :
5559 paths :
@@ -72,7 +76,7 @@ mobile_test_ios_{{ project.name }}_{{ editor }}:
7276 agent :
7377 model : SE-Gen3
7478 type : Unity::mobile::iPhone
75- image : package-ci/macos-12 :v4
79+ image : package-ci/macos-13 :v4
7680 flavor : b1.medium
7781
7882 # Skip repository cloning
@@ -105,7 +109,7 @@ mobile_test_android_{{ project.name }}_{{ editor }}:
105109 name : {{ project.name }} mobile project tests - {{ editor }} on Android
106110 agent :
107111 type : Unity::mobile::shield
108- image : mobile/android-execution-base:stable
112+ image : package-ci/ubuntu-22.04:v4
109113 flavor : b1.medium
110114
111115 # Skip repository cloning
@@ -115,13 +119,20 @@ mobile_test_android_{{ project.name }}_{{ editor }}:
115119 - .yamato/mobile-build-and-run.yml#Build_Player_With_Tests_Android_{{ project.name }}_{{ editor }}
116120 commands :
117121 # Download standalone UnityTestRunner
118- - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools/utr-standalone/utr.bat --output utr.bat
119- - |
120- set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
121- start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
122- start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
123- set UTR_VERSION=0.12.0
124- ./utr --artifacts_path=build/test-results --testproject={{ project.path }} --editor-location=.Editor --reruncount=2 --suite=playmode --platform=android --player-load-path=build/players --testfilter=Unity.BossRoom.Tests.Runtime
122+ - unity-downloader-cli --fast --wait -u {{ editor }} -c editor -c Android
123+ - >
124+ ANDROID_DEVICE_CONNECTION=$BOKKEN_DEVICE_IP
125+ ANDROID_SDK_ROOT=$PWD/.Editor/Data/PlaybackEngines/AndroidPlayer/SDK
126+ UnifiedTestRunner
127+ --artifacts-path=build/test-results
128+ --editor-location=.Editor
129+ --suite=playmode
130+ --testproject={{ project.path }}
131+ --platform=Android
132+ --player-load-path=build/players
133+ --testfilter=Unity.BossRoom.Tests.Runtime
134+ --reruncount=2
135+ --player-connection-ip=$BOKKEN_HOST_IP
125136 # Set uploadable artifact paths
126137 artifacts :
127138 logs :
0 commit comments