Skip to content

Commit f6961c5

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

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

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

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,17 @@ Build_Player_With_Tests_Android_{{ project.name }}_{{ editor }}:
4040
type: Unity::VM
4141
# Any generic image can be used, no need to have Android tools in the image for building
4242
# All Android tools will be downloaded by unity-downloader-cli
43-
image: package-ci/ubuntu-22.04:v4
43+
image: mobile/android-execution-base:v2.1774381
4444
flavor: b1.large
45+
4546
commands:
4647
# Download unity-downloader-cli
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
57-
- unity-downloader-cli -c Editor -c Android -u {{ editor }} --fast --wait
48+
- pip install unity-downloader-cli==1.2.0 --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
5849
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools/utr-standalone/utr.bat --output utr.bat
59-
- 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
6052
# Build player(s)
53+
- set UTR_VERSION=0.12.0
6154
- ./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
6255
artifacts:
6356
players:

0 commit comments

Comments
 (0)