Skip to content

Commit 21013fc

Browse files
committed
Tried android with different image
1 parent 982a292 commit 21013fc

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.yamato/mobile-standalone-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ run_{{ project.name }}_tests_{{ editor }}_{{ platform.name }}:
7373

7474
# Connect to Android device and run tests
7575
- |
76-
export ANDROID_DEVICE_CONNECTION=${BOKKEN_DEVICE_IP}
77-
${ANDROID_SDK_ROOT}/platform-tools/adb connect ${BOKKEN_DEVICE_IP}
78-
${ANDROID_SDK_ROOT}/platform-tools/adb devices
79-
./utr --suite=playmode --platform=Android --editor-location=.Editor --architecture={{ platform.architecture }} --testproject={{ project.path }} --player-load-path=build/players --artifacts_path=build/logs --scripting-backend=il2cpp --extra-editor-arg=-testCategory --extra-editor-arg=!Performance --reruncount=1 --clean-library-on-rerun --player-connection-ip=%BOKKEN_HOST_IP% --timeout=1800 --test-timeout=300 --player-connection-timeout=120
76+
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
77+
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
78+
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
79+
utr --suite=playmode --platform=Android --editor-location=.Editor --architecture={{ platform.architecture }} --testproject={{ project.path }} --player-load-path=build/players --artifacts_path=build/logs --scripting-backend=il2cpp --extra-editor-arg=-testCategory --extra-editor-arg=!Performance --reruncount=1 --clean-library-on-rerun --player-connection-ip=%BOKKEN_HOST_IP% --timeout=1800 --test-timeout=300 --player-connection-timeout=120
8080
{% else %}
8181
# Download standalone UnityTestRunner
8282
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr

.yamato/project.metafile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ test_platforms:
3838
mobile_build:
3939
- name: android-armV7
4040
type: Unity::VM
41-
image: package-ci/win10:v4
41+
image: dots-ci/android:v3
4242
flavor: b1.large
4343
standalone: Android
4444
base: win
4545
architecture: armv7
4646
- name: android-arm64
4747
type: Unity::VM
48-
image: package-ci/win10:v4
48+
image: dots-ci/android:v3
4949
flavor: b1.large
5050
standalone: Android
5151
base: win
@@ -61,15 +61,15 @@ test_platforms:
6161
mobile_test:
6262
- name: android-armV7
6363
type: Unity::mobile::shield
64-
image: package-ci/ubuntu-22.04:v4
64+
image: dots-ci/android:v3
6565
flavor: b1.large
6666
model: ShieldPro
6767
standalone: Android
6868
base: ubuntu
6969
architecture: armv7
7070
- name: android-arm64
7171
type: Unity::mobile::shield
72-
image: package-ci/ubuntu-22.04:v4
72+
image: dots-ci/android:v3
7373
flavor: b1.large
7474
model: ShieldPro
7575
standalone: Android

0 commit comments

Comments
 (0)