Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
dd69573
add url, branch, commands to metafile
Dec 2, 2020
0168d89
test/example of how this could work
Dec 2, 2020
e01cbd0
Merge branch 'master' into performance/allow-multiple-projects
Dec 8, 2020
cdea802
Revert "test/example of how this could work"
Dec 8, 2020
80b8d54
(WIP) pass in the project url, dependencies, etc differently
Dec 8, 2020
409b343
populate perf dependencies from metafile
Dec 18, 2020
b82b054
Remove backslashes from config dependencies
Dec 21, 2020
b302b5e
Take project specific configs out
Dec 29, 2020
8acc788
Use single players path
Dec 29, 2020
282f325
Merge branch 'master' into performance/allow-multiple-projects2
Dec 29, 2020
439d051
Fix nightly names
Dec 29, 2020
81b8f35
(wip) add lost crypt
Jan 4, 2021
068849e
update revision
Jan 5, 2021
83eb278
Merge branch 'master' into performance/allow-multiple-projects
Jan 6, 2021
b99e8d3
update revision and scene name
Jan 7, 2021
c6324c9
fix scene path
Jan 7, 2021
9f7689a
Merge branch 'master' into performance/allow-multiple-projects
Jan 12, 2021
b831879
run build.py
Jan 12, 2021
8d019da
update mac image
Jan 13, 2021
d79eff2
(hotfix) use old installer for ios for now
Jan 13, 2021
43ccad6
fix ios on lostcrypt too
Jan 13, 2021
5be7877
Merge branch 'master' into performance/allow-multiple-projects
Jan 14, 2021
b4bd8a5
fix install command
Jan 14, 2021
fd5fe5c
Merge branch 'master' into performance/allow-multiple-projects
Jan 19, 2021
163284c
update branch/revision + remove linux from ci
Jan 19, 2021
0fa440f
add lost crypt to nightly
Jan 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .yamato/_abv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ all_project_ci_nightly_trunk:
dependencies:
- path: .yamato/all-urp_performance_boatattack.yml#PR_URP_Performance_BoatAttack_trunk
rerun: on-new-revision
- path: .yamato/all-urp_performance_lostcrypt.yml#PR_URP_Performance_LostCrypt_trunk
rerun: on-new-revision
- path: .yamato/all-urpupdate.yml#PR_URPUpdate_trunk
rerun: on-new-revision
- path: .yamato/all-hdrp_performancetests.yml#PR_HDRP_PerformanceTests_trunk
Expand Down
103 changes: 103 additions & 0 deletions .yamato/all-urp_performance_lostcrypt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@

# This file is generated by .yamato/ruamel/build.py. Don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files (for most cases) or under .yamato/ruamel/* within Python (more elaborate cases), and rerun build.py to regenerate all .yml files.
# Read more under .yamato/docs/readme.md

{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}

---

PR_URP_Performance_LostCrypt_trunk:
name: URP_Performance_LostCrypt PR Job - trunk
dependencies:
- path: .yamato/urp_performance_lostcrypt-win-dx11.yml#URP_Performance_LostCrypt_Win_DX11_performance_playmode_runtime_mono_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-win-dx11.yml#URP_Performance_LostCrypt_Win_DX11_performance_playmode_editor_mono_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-win-dx11.yml#URP_Performance_LostCrypt_Win_DX11_performance_build_editmode_mono_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-win-vulkan.yml#URP_Performance_LostCrypt_Win_Vulkan_performance_playmode_runtime_mono_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-win-vulkan.yml#URP_Performance_LostCrypt_Win_Vulkan_performance_build_editmode_mono_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-win-dx12.yml#URP_Performance_LostCrypt_Win_DX12_performance_playmode_runtime_mono_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-win-dx12.yml#URP_Performance_LostCrypt_Win_DX12_performance_playmode_editor_mono_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-win-dx12.yml#URP_Performance_LostCrypt_Win_DX12_performance_build_editmode_mono_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-android-opengles3.yml#URP_Performance_LostCrypt_Android_OpenGLES3_performance_playmode_runtime_il2cpp_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-android-opengles3.yml#URP_Performance_LostCrypt_Android_OpenGLES3_performance_build_editmode_il2cpp_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-android-vulkan.yml#URP_Performance_LostCrypt_Android_Vulkan_performance_playmode_runtime_il2cpp_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-android-vulkan.yml#URP_Performance_LostCrypt_Android_Vulkan_performance_build_editmode_il2cpp_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-iphone-metal.yml#URP_Performance_LostCrypt_iPhone_Metal_performance_playmode_runtime_il2cpp_Linear_trunk
rerun: on-new-revision
- path: .yamato/urp_performance_lostcrypt-iphone-metal.yml#URP_Performance_LostCrypt_iPhone_Metal_performance_build_editmode_il2cpp_Linear_trunk
rerun: on-new-revision
variables:
UTR_VERSION: "current"
TEST_FILTER: .*
LOST_CRYPT_BRANCH: 21.2/urp-perf-test
LOST_CRYPT_REVISION: eb3405aada97fdaf2b033e4f7bc7e47fb4589c3a
Nightly_URP_Performance_LostCrypt_trunk:
name: Nightly URP_Performance_LostCrypt - trunk
dependencies:
- path: .yamato/all-urp_performance_lostcrypt.yml#PR_URP_Performance_LostCrypt_trunk
rerun: on-new-revision
variables:
UTR_VERSION: "current"
TEST_FILTER: .*
LOST_CRYPT_BRANCH: 21.2/urp-perf-test
LOST_CRYPT_REVISION: eb3405aada97fdaf2b033e4f7bc7e47fb4589c3a
PR_URP_Performance_LostCrypt_CUSTOM-REVISION:
name: URP_Performance_LostCrypt PR Job - CUSTOM-REVISION
dependencies:
- path: .yamato/urp_performance_lostcrypt-win-dx11.yml#URP_Performance_LostCrypt_Win_DX11_performance_playmode_runtime_mono_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-win-dx11.yml#URP_Performance_LostCrypt_Win_DX11_performance_playmode_editor_mono_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-win-dx11.yml#URP_Performance_LostCrypt_Win_DX11_performance_build_editmode_mono_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-win-vulkan.yml#URP_Performance_LostCrypt_Win_Vulkan_performance_playmode_runtime_mono_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-win-vulkan.yml#URP_Performance_LostCrypt_Win_Vulkan_performance_build_editmode_mono_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-win-dx12.yml#URP_Performance_LostCrypt_Win_DX12_performance_playmode_runtime_mono_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-win-dx12.yml#URP_Performance_LostCrypt_Win_DX12_performance_playmode_editor_mono_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-win-dx12.yml#URP_Performance_LostCrypt_Win_DX12_performance_build_editmode_mono_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-android-opengles3.yml#URP_Performance_LostCrypt_Android_OpenGLES3_performance_playmode_runtime_il2cpp_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-android-opengles3.yml#URP_Performance_LostCrypt_Android_OpenGLES3_performance_build_editmode_il2cpp_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-android-vulkan.yml#URP_Performance_LostCrypt_Android_Vulkan_performance_playmode_runtime_il2cpp_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-android-vulkan.yml#URP_Performance_LostCrypt_Android_Vulkan_performance_build_editmode_il2cpp_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-iphone-metal.yml#URP_Performance_LostCrypt_iPhone_Metal_performance_playmode_runtime_il2cpp_Linear_CUSTOM-REVISION
rerun: always
- path: .yamato/urp_performance_lostcrypt-iphone-metal.yml#URP_Performance_LostCrypt_iPhone_Metal_performance_build_editmode_il2cpp_Linear_CUSTOM-REVISION
rerun: always
variables:
CUSTOM_REVISION: custom_revision_not_set
UTR_VERSION: "current"
TEST_FILTER: .*
LOST_CRYPT_BRANCH: 21.2/urp-perf-test
LOST_CRYPT_REVISION: eb3405aada97fdaf2b033e4f7bc7e47fb4589c3a
Nightly_URP_Performance_LostCrypt_CUSTOM-REVISION:
name: Nightly URP_Performance_LostCrypt - CUSTOM-REVISION
dependencies:
- path: .yamato/all-urp_performance_lostcrypt.yml#PR_URP_Performance_LostCrypt_CUSTOM-REVISION
rerun: always
variables:
CUSTOM_REVISION: custom_revision_not_set
UTR_VERSION: "current"
TEST_FILTER: .*
LOST_CRYPT_BRANCH: 21.2/urp-perf-test
LOST_CRYPT_REVISION: eb3405aada97fdaf2b033e4f7bc7e47fb4589c3a
2 changes: 2 additions & 0 deletions .yamato/config/_abv.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ nightly:
extra_dependencies: # additional project jobs to run nightly
- project: URP_Performance_BoatAttack
pr: true
- project: URP_Performance_LostCrypt
pr: true
- project: URPUpdate
pr: true
- project: HDRP_PerformanceTests
Expand Down
267 changes: 267 additions & 0 deletions .yamato/config/universal_perf_lostcrypt.metafile
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
project:
name: URP_Performance_LostCrypt
folder: 2d-sara
url: https://github.com/Unity-Technologies/2d-sara.git
branch: '%LOST_CRYPT_BRANCH%'
revision: '%LOST_CRYPT_REVISION%'
unity_config_commands:
- 'unity-config project add dependency "com.unity.render-pipelines.core@file:../../../com.unity.render-pipelines.core" --project-path .'
- 'unity-config project add dependency "com.unity.render-pipelines.universal@file:../../../com.unity.render-pipelines.universal" --project-path .'
- 'unity-config project add dependency "com.unity.shadergraph@file:../../../com.unity.shadergraph" --project-path .'
- 'unity-config project add dependency [email protected] --project-path .'
- 'unity-config project add dependency [email protected] --project-path .'
- 'unity-config project add dependency [email protected] --project-path .'
- 'unity-config project add dependency [email protected] --project-path .'
- 'unity-config project add dependency [email protected] --project-path .'
- 'unity-config project add dependency [email protected] --project-path .'
- 'unity-config project add dependency "com.unity.testing.graphics-performance@ssh://[email protected]/unity/com.unity.testing.graphics-performance.git" --project-path .'
- 'unity-config project add dependency "unity.graphictests.performance.universal@ssh://[email protected]/unity/unity.graphictests.performance.universal.git" --project-path .'
- 'unity-config project add testable com.unity.cli-project-setup --project-path .'
- 'unity-config project add testable com.unity.test.performance.runtimesettings --project-path .'
- 'unity-config project add testable com.unity.test.metadata-manager --project-path .'
- 'unity-config project add testable com.unity.testing.graphics-performance --project-path .'
- 'unity-config project add testable com.unity.render-pipelines.core --project-path .'
- 'unity-config project add testable unity.graphictests.performance.universal --project-path .'
- 'unity-config project set project-update false --project-path .'
variables:
LOST_CRYPT_BRANCH: 21.2/urp-perf-test
LOST_CRYPT_REVISION: eb3405aada97fdaf2b033e4f7bc7e47fb4589c3a

test_platforms:
- type: Standalone
name: performance_playmode_runtime
is_performance: True
utr_flags:
- [all]: --report-performance-data
- [all]: --performance-project-id=LostCrypt
- [iPhone_Metal]: --timeout=2400
utr_flags_build:
- [all]: --extra-editor-arg="-executemethod" --extra-editor-arg="Editor.Setup"
- [all]: --extra-editor-arg="-addscenetobuild=Assets/Scenes/Main.unity"
- [all]: --extra-editor-arg="-packageundertestname=com.unity.render-pipelines.universal"
- [all]: --extra-editor-arg="-packageundertestrev=%GIT_REVISION%"
- [all]: --extra-editor-arg="-packageundertestrevdate=%GIT_REVISIONDATE%"
- [all]: --extra-editor-arg="-packageundertestbranch=%GIT_BRANCH%"
- [Win_DX11, Win_DX12, Win_Vulkan]: --extra-editor-arg="-stripenginecode-"
- [Win_DX11, Win_DX12, Win_Vulkan]: --extra-editor-arg="-managedstrippinglevel=Low"
- [Win_DX11, Win_DX12, Win_Vulkan]: --extra-editor-arg="-allowdebugging-"
- [all]: --category=URP
- [iPhone_Metal]: --extra-editor-arg="-buildtarget" --extra-editor-arg="iOS"
- [Android_Vulkan, Android_OpenGLES3]: --extra-editor-arg="-buildtarget" --extra-editor-arg="Android"
- [all]: --extra-editor-arg="-scriptingbackend=<SCRIPTING_BACKEND>"
utr_repeat:
- apply: [iPhone_Metal, Android_Vulkan, Android_OpenGLES3, Win_DX11, Win_DX12, Win_Vulkan, OSX_Metal, Linux_Vulkan]
utr_flags:
- [iPhone_Metal, Android_Vulkan, Android_OpenGLES3]: --player-load-path=playersLow
- [Win_DX11, Win_DX12, Win_Vulkan, OSX_Metal, Linux_Vulkan]: --player-load-path=../../playersLow
utr_flags_build:
- [all]: --testfilter=Low
- [iPhone_Metal, Android_Vulkan, Android_OpenGLES3]: --player-save-path=playersLow
- [Win_DX11, Win_DX12, Win_Vulkan, OSX_Metal, Linux_Vulkan]: --player-save-path=../../playersLow
- apply: [iPhone_Metal, Android_Vulkan, Android_OpenGLES3, Win_DX11, Win_DX12, Win_Vulkan, OSX_Metal, Linux_Vulkan]
utr_flags:
- [iPhone_Metal, Android_Vulkan, Android_OpenGLES3]: --player-load-path=playersMedium
- [Win_DX11, Win_DX12, Win_Vulkan, OSX_Metal, Linux_Vulkan]: --player-load-path=../../playersMedium
utr_flags_build:
- [all]: --testfilter=Medium
- [iPhone_Metal, Android_Vulkan, Android_OpenGLES3]: --player-save-path=playersMedium
- [Win_DX11, Win_DX12, Win_Vulkan, OSX_Metal, Linux_Vulkan]: --player-save-path=../../playersMedium
- apply: [Win_DX11, Win_DX12, Win_Vulkan, OSX_Metal, Linux_Vulkan]
utr_flags:
- [Win_DX11, Win_DX12, Win_Vulkan, OSX_Metal, Linux_Vulkan]: --player-load-path=../../playersHigh
utr_flags_build:
- [Win_DX11, Win_DX12, Win_Vulkan, OSX_Metal, Linux_Vulkan]: --testfilter=High
- [Win_DX11, Win_DX12, Win_Vulkan, OSX_Metal, Linux_Vulkan]: --player-save-path=../../playersHigh
- type: playmode
name: performance_playmode_editor
is_performance: True
utr_flags:
- [all]: --report-performance-data
- [all]: --performance-project-id=LostCrypt
- [all]: --extra-editor-arg="-executemethod" --extra-editor-arg="Editor.Setup"
- [all]: --category=URP
- [all]: --extra-editor-arg="-addscenetobuild=Assets/Scenes/Main.unity"
- [all]: --extra-editor-arg="-packageundertestname=com.unity.render-pipelines.universal"
- [all]: --extra-editor-arg="-packageundertestrev=%GIT_REVISION%"
- [all]: --extra-editor-arg="-packageundertestrevdate=%GIT_REVISIONDATE%"
- [all]: --extra-editor-arg="-packageundertestbranch=%GIT_BRANCH%"
- [all]: --extra-editor-arg="-scriptingbackend=<SCRIPTING_BACKEND>"
utr_repeat:
- apply: [all]
utr_flags:
- [all]: --testfilter=Low
- apply: [all]
utr_flags:
- [all]: --testfilter=Medium
- apply: [Win_DX11, Win_DX12, Win_Vulkan]
utr_flags:
- [Win_DX11, Win_DX12, Win_Vulkan]: --testfilter=High
- type: editmode
name: performance_build_editmode
is_performance: True
utr_flags:
- [all]: --testfilter=Build
- [all]: --report-performance-data
- [all]: --performance-project-id=LostCrypt
- [all]: --extra-editor-arg="-executemethod" --extra-editor-arg="Editor.Setup"
- [all]: --category=URP
- [all]: --extra-editor-arg="-addscenetobuild=Assets/Scenes/Main.unity"
- [all]: --extra-editor-arg="-packageundertestname=com.unity.render-pipelines.universal"
- [all]: --extra-editor-arg="-packageundertestrev=%GIT_REVISION%"
- [all]: --extra-editor-arg="-packageundertestrevdate=%GIT_REVISIONDATE%"
- [all]: --extra-editor-arg="-packageundertestbranch=%GIT_BRANCH%"
- [iPhone_Metal]: --extra-editor-arg="-buildtarget" --extra-editor-arg="iOS"
- [Android_Vulkan, Android_OpenGLES3]: --extra-editor-arg="-buildtarget" --extra-editor-arg="Android"
- [all]: --extra-editor-arg="-scriptingbackend=<SCRIPTING_BACKEND>"
utr_repeat:
- apply: [all]
utr_flags:
- [all]: --testfilter=Low
- apply: [all]
utr_flags:
- [all]: --testfilter=Medium
- apply: [Win_DX11, Win_DX12, Win_Vulkan]
utr_flags:
- [Win_DX11, Win_DX12, Win_Vulkan]: --testfilter=High
expression_trigger:
expression: ""
platforms:
- name: Win
apis:
- name: DX11
- name: DX12
- name: Vulkan
exclude_test_platforms:
- name: performance_playmode_editor
build_configs:
- name: mono
color_spaces:
- Linear
agents_project:
default:
type: Unity::VM::GPU
image: sdet/gamecode_win10:stable
flavor: b1.large
model: rtx2080
standalone_build:
type: Unity::VM
image: sdet/gamecode_win10:stable
flavor: b1.xlarge
performance_build_editmode:
type: Unity::VM
image: sdet/gamecode_win10:stable
flavor: b1.large
model: rtx2080
- name: Android
apis:
- name: Vulkan
exclude_test_platforms:
- name: performance_playmode_editor
- name: OpenGLES3
exclude_test_platforms:
- name: performance_playmode_editor
build_configs:
- name: il2cpp
color_spaces:
- Linear
agents_project:
default:
type: Unity::mobile::android
image: mobile/android-execution-r19:stable
flavor: b1.large
standalone_build:
type: Unity::VM
image: mobile/android-execution-r19:stable
flavor: b1.large
performance_build_editmode:
type: Unity::VM
image: mobile/android-execution-r19:stable
flavor: b1.large
- name: iPhone
apis:
- name: Metal
exclude_test_platforms:
- name: performance_playmode_editor
build_configs:
- name: il2cpp
color_spaces:
- Linear
agents_project:
# default: package_ci_mac
default:
type: Unity::mobile::iPhone
image: mobile/macos-10.15-testing:stable
flavor: b1.medium
standalone_build:
type: Unity::VM::osx
image: mobile/macos-10.13-testing:stable
flavor: b1.large
performance_build_editmode:
type: Unity::VM::osx
image: mobile/macos-10.15-testing:stable
flavor: b1.large
- name: OSX
apis:
- name: Metal
build_configs:
- name: mono
color_spaces:
- Linear
- name: Linux
apis:
- name: Vulkan
build_configs:
- name: mono
color_spaces:
- Linear
pr:
dependencies:
- platform: Win
api: DX11
build_config: mono
color_space: Linear
test_platforms:
- performance_playmode_runtime
- performance_playmode_editor
- performance_build_editmode
- platform: Win
api: Vulkan
build_config: mono
color_space: Linear
test_platforms:
- performance_playmode_runtime
#- performance_playmode_editor
- performance_build_editmode
- platform: Win
api: DX12
build_config: mono
color_space: Linear
test_platforms:
- performance_playmode_runtime
- performance_playmode_editor
- performance_build_editmode
- platform: Android
api: OpenGLES3
build_config: il2cpp
color_space: Linear
test_platforms:
- performance_playmode_runtime
- performance_build_editmode
- platform: Android
api: Vulkan
build_config: il2cpp
color_space: Linear
test_platforms:
- performance_playmode_runtime
- performance_build_editmode
- platform: iPhone
api: Metal
build_config: il2cpp
color_space: Linear
test_platforms:
- performance_playmode_runtime
- performance_build_editmode
nightly:
dependencies:
- project: URP_Performance_LostCrypt
pr: true
2 changes: 1 addition & 1 deletion .yamato/ruamel/jobs/projects/commands/iphone.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def cmd_standalone(project, platform, api, test_platform, editor, build_config,

def cmd_standalone_build(project, platform, api, test_platform, editor, build_config, color_space):

if "BoatAttack" not in project["name"]:
if "Performance" not in project["name"]:
base = [
f'brew tap --force-auto-update unity/unity [email protected]:unity/homebrew-unity.git',
f'brew install unity/unity/unity-downloader-cli',
Expand Down
Loading