Skip to content

Commit a4db3ba

Browse files
committed
Update mobile-build-and-run.yml
1 parent 62fa2e7 commit a4db3ba

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.yamato/mobile-build-and-run.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,23 @@ Build_Player_With_Tests_Android_{{ project.name }}_{{ editor }}:
4242
# All Android tools will be downloaded by unity-downloader-cli
4343
image: package-ci/ubuntu-22.04:v4
4444
flavor: b1.large
45-
4645
commands:
4746
# Download unity-downloader-cli
48-
- pip install unity-downloader-cli==1.2.0 --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
49-
- curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output utr
50-
- chmod +x utr
51-
- python .yamato/disable-burst-if-requested.py --project-path {{ project.path }} --platform Android
47+
# - pip install unity-downloader-cli==1.2.0 --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
48+
# - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools/utr-standalone/utr.bat --output utr.bat
49+
# - chmod -x utr.bat
50+
# - python .yamato/disable-burst-if-requested.py --project-path {{ project.path }} --platform Android
51+
# - unity-downloader-cli -c Editor -c Android -u {{ editor }} --fast --wait
52+
# Build player(s)
53+
# - set UTR_VERSION=0.12.0
54+
# - ./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
55+
# Download unity-downloader-cli
56+
- gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
5257
- unity-downloader-cli -c Editor -c Android -u {{ editor }} --fast --wait
58+
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools/utr-standalone/utr.bat --output utr.bat
59+
- chmod -x utr.bat
5360
# Build player(s)
54-
- set UTR_VERSION=0.12.0
55-
- ./utr --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
61+
- ./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
5662
artifacts:
5763
players:
5864
paths:

0 commit comments

Comments
 (0)