Skip to content

Commit e9b7732

Browse files
Merge pull request #924 from Unity-Technologies/release/v3.0.0
[MTT-12140] RELEASE: 3.0.0
2 parents 7fa7770 + 1ca005c commit e9b7732

File tree

383 files changed

+56130
-4110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

383 files changed

+56130
-4110
lines changed

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

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -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:

.yamato/project-pack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pack_{{ project.name }}:
55
name: Pack {{ project.name }}
66
agent:
77
type: Unity::VM
8-
image: package-ci/ubuntu:stable
8+
image: package-ci/ubuntu-22.04:v4
99
flavor: b1.small
1010
commands:
1111
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm

.yamato/project-standards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ standards_{{ projects.first.name }}:
44
name: Standards Check {{ projects.first.name }}
55
agent:
66
type: Unity::VM
7-
image: desktop/logging-testing-linux:v0.1.2-926285
7+
image: package-ci/ubuntu-22.04:v4
88
flavor: b1.large
99
commands:
1010
- dotnet --version

.yamato/project.metafile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
test_platforms:
33
- name: win
44
type: Unity::VM
5-
image: package-ci/win10:v4
5+
image: package-ci/win10:v4.36.0
66
flavor: b1.large
77
editorpath: .Editor\Unity.exe
88
utr: .\utr.bat
@@ -14,7 +14,7 @@ test_platforms:
1414
utr: ./utr
1515
- name: ubuntu
1616
type: Unity::VM
17-
image: package-ci/ubuntu-18.04:v4
17+
image: package-ci/ubuntu-22.04:v4
1818
flavor: b1.large
1919
editorpath: .Editor/Unity
2020
utr: ./utr
@@ -30,4 +30,4 @@ projects:
3030
- name: com.unity.multiplayer.samples.coop
3131
path: Packages/com.unity.multiplayer.samples.coop
3232
test_editors:
33-
- 2022.3
33+
- 6000.0.44

Assets/Scripts/Editor/Readme.meta renamed to Assets/Editor.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Editor/Tutorials.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Loading

Assets/Editor/Tutorials/DiscordIcon.png.meta

Lines changed: 123 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)