diff --git a/.yamato/_abv.yml b/.yamato/_abv.yml index a65c6df198a..92cc4a1a410 100644 --- a/.yamato/_abv.yml +++ b/.yamato/_abv.yml @@ -1,14 +1,7 @@ - -# This file is generated by ant_yaml_generation package, don't edit this file manually. -# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling). - - ---- - -graphics_repo_nightly_6000.4: - name: Graphics repo nightly on 6000.4 +graphics_repo_nightly_trunk: + name: Graphics repo nightly on trunk on trunk variables: - CUSTOM_REVISION: '6000.4/staging' + CUSTOM_REVISION: 'trunk' TEST_FILTER: .* UTR_VERSION: "current" triggers: @@ -16,5 +9,7 @@ graphics_repo_nightly_6000.4: - branch: master frequency: weekly dependencies: - - path: .yamato/_templates.yml#all_template_ci_6000.4 - rerun: always \ No newline at end of file + - path: .yamato/_templates.yml#all_template_ci_trunk + rerun: always + - path: .yamato/all-postprocessing.yml#PostProcessing_trunk + rerun: always diff --git a/.yamato/_editor_priming.yml b/.yamato/_editor_priming.yml index 163f5d1c8c4..896a8a93636 100644 --- a/.yamato/_editor_priming.yml +++ b/.yamato/_editor_priming.yml @@ -1,19 +1,12 @@ - -# This file is generated by ant_yaml_generation package, don't edit this file manually. -# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling). - - ---- - -editor:priming:6000.4:Win: - name: '[6000.4,Win] Editor priming' +editor:priming:trunk:Win: + name: '[trunk,Win] Editor priming' agent: type: Unity::VM image: package-ci/ubuntu-22.04:v4 flavor: b1.small skip_checkout: true variables: - CUSTOM_REVISION: '6000.4/staging' + CUSTOM_REVISION: 'trunk' DISPLAY: ":0" PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates @@ -51,15 +44,15 @@ editor:priming:test_min_editor:Win: unity_revision.zip: paths: - "unity_revision.txt" -editor:priming:6000.4:OSX: - name: '[6000.4,OSX] Editor priming' +editor:priming:trunk:OSX: + name: '[trunk,OSX] Editor priming' agent: type: Unity::VM image: package-ci/ubuntu-22.04:v4 flavor: b1.small skip_checkout: true variables: - CUSTOM_REVISION: '6000.4/staging' + CUSTOM_REVISION: 'trunk' DISPLAY: ":0" PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates @@ -97,15 +90,15 @@ editor:priming:test_min_editor:OSX: unity_revision.zip: paths: - "unity_revision.txt" -editor:priming:6000.4:Linux: - name: '[6000.4,Linux] Editor priming' +editor:priming:trunk:Linux: + name: '[trunk,Linux] Editor priming' agent: type: Unity::VM image: package-ci/ubuntu-22.04:v4 flavor: b1.small skip_checkout: true variables: - CUSTOM_REVISION: '6000.4/staging' + CUSTOM_REVISION: 'trunk' DISPLAY: ":0" PATH: /home/bokken/bin:/home/bokken/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/home/bokken/.npm-global/bin UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates diff --git a/.yamato/_postprocessing_publish.yml b/.yamato/_postprocessing_publish.yml new file mode 100644 index 00000000000..7aedc813274 --- /dev/null +++ b/.yamato/_postprocessing_publish.yml @@ -0,0 +1,115 @@ + +# From https://github.com/Unity-Technologies/PostProcessing/blob/v2/.yamato/upm-ci.yml + +name: postprocessing +test_editors: + # This should start from the earliest supported stream (specified in the package.json file). Right now this is 2019.4. + - 2019.4 + - 2020.3 + - 2021.3 + - 2022.3 + - 6000.0 + - 6000.2 + - 6000.3 + - 6000.4 + - trunk +test_platforms: + - name: win + type: Unity::VM + image: package-ci/win10:v4 + flavor: b1.large + - name: mac + type: Unity::VM::osx + image: package-ci/macos-13:v4 + flavor: m1.mac +--- +{{ name }}_pack: + name: {{ name }} - Pack + agent: + type: Unity::VM + image: package-ci/win10:v4 + flavor: b1.large + commands: + - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm + - upm-ci package pack --package-path com.unity.postprocessing + artifacts: + packages: + paths: + - "upm-ci~/**/*" + +{% for editor in test_editors %} +{% for platform in test_platforms %} +{{ name }}_test_{{ platform.name }}_{{ editor }}: + name : {{ name }} - Test {{ editor }} on {{ platform.name }} + agent: + type: {{ platform.type }} + image: {{ platform.image }} + flavor: {{ platform.flavor}} + commands: + - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm + - upm-ci package test --unity-version {{ editor }} --package-path com.unity.postprocessing --extra-utr-arg="--compilation-errors-as-warnings" + artifacts: + logs: + paths: + - "upm-ci~/test-results/**/*" + dependencies: + - .yamato/_postprocessing_publish.yml#{{ name }}_pack +{% endfor %} +{% endfor %} + +{{ name }}_test_trigger: + name: {{ name }} - Tests Trigger + dependencies: + - .yamato/_postprocessing_publish.yml#{{ name }}_pack + {% for editor in test_editors %} + {% for platform in test_platforms %} + - .yamato/_postprocessing_publish.yml#{{ name }}_test_{{platform.name}}_{{editor}} + {% endfor %} + {% endfor %} + +{{ name }}_publish: + name: {{ name }} - Publish to Internal Registry + agent: + type: Unity::VM + image: package-ci/win10:v4 + flavor: b1.large + variables: + UPMCI_ENABLE_PACKAGE_SIGNING: 1 + commands: + - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm + - upm-ci package publish --package-path com.unity.postprocessing + artifacts: + artifacts: + paths: + - "upm-ci~/packages/*.tgz" + dependencies: + - .yamato/_postprocessing_publish.yml#{{ name }}_pack + {% for editor in test_editors %} + {% for platform in test_platforms %} + - .yamato/_postprocessing_publish.yml#{{ name }}_test_{{ platform.name }}_{{ editor }} + {% endfor %} + {% endfor %} + + +{{ name }}_publish_dry_run: + name: {{ name }} - Publish to Internal Registry [dry-run] + agent: + type: Unity::VM + image: package-ci/win10:v4 + flavor: b1.large + variables: + UPMCI_ENABLE_PACKAGE_SIGNING: 1 + commands: + - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm + - upm-ci package publish --dry-run --package-path com.unity.postprocessing + artifacts: + artifacts: + paths: + - "upm-ci~/packages/*.tgz" + dependencies: + - .yamato/_postprocessing_publish.yml#{{ name }}_pack + {% for editor in test_editors %} + {% for platform in test_platforms %} + - .yamato/_postprocessing_publish.yml#{{ name }}_test_{{ platform.name }}_{{ editor }} + {% endfor %} + {% endfor %} diff --git a/.yamato/_templates.yml b/.yamato/_templates.yml index 0987ec4bb6a..ededda07439 100644 --- a/.yamato/_templates.yml +++ b/.yamato/_templates.yml @@ -1,12 +1,5 @@ - -# This file is generated by ant_yaml_generation package, don't edit this file manually. -# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling). - - ---- - -pre_pack_hdrp_template_Win_6000.4: - name: Pre-Pack HDRP Template Win 6000.4 +pre_pack_hdrp_template_Win_trunk: + name: Pre-Pack HDRP Template Win trunk agent: type: Unity::VM image: package-ci/win11:v4 @@ -16,7 +9,7 @@ pre_pack_hdrp_template_Win_6000.4: - unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only - .Editor\Unity.exe -projectPath com.unity.template-hd -batchmode -quit -logFile ./Editor.log dependencies: - - path: .yamato/_editor_priming.yml#editor:priming:6000.4:Win + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win return: always artifacts: primed: @@ -27,8 +20,8 @@ pre_pack_hdrp_template_Win_6000.4: logs: paths: - "Editor.log" -pack_hdrp_template_Win_6000.4: - name: Pack HDRP Template Win 6000.4 +pack_hdrp_template_Win_trunk: + name: Pack HDRP Template Win trunk agent: type: Unity::VM image: package-ci/win10:v4 @@ -41,16 +34,16 @@ pack_hdrp_template_Win_6000.4: paths: - "upm-ci~/packages/**/*" - "upm-ci~/templates/**/*" -test_hdrp_template_Win_6000.4: - name: Test HDRP Template Win 6000.4 +test_hdrp_template_Win_trunk: + name: Test HDRP Template Win trunk agent: type: Unity::VM image: package-ci/win11:v4 flavor: b1.large dependencies: - - path: .yamato/_templates.yml#pack_hdrp_template_Win_6000.4 + - path: .yamato/_templates.yml#pack_hdrp_template_Win_trunk return: always - - path: .yamato/_editor_priming.yml#editor:priming:6000.4:Win + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win return: always commands: - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm @@ -61,8 +54,8 @@ test_hdrp_template_Win_6000.4: logs: paths: - "**/test-results/**" -pre_pack_hdrp_template_OSX_6000.4: - name: Pre-Pack HDRP Template OSX 6000.4 +pre_pack_hdrp_template_OSX_trunk: + name: Pre-Pack HDRP Template OSX trunk agent: type: Unity::VM::osx image: package-ci/macos-13:v4 @@ -71,7 +64,7 @@ pre_pack_hdrp_template_OSX_6000.4: - unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only - .Editor/Unity.app/Contents/MacOS/Unity -projectPath com.unity.template-hd -batchmode -quit -logFile ./Editor.log dependencies: - - path: .yamato/_editor_priming.yml#editor:priming:6000.4:OSX + - path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX return: always artifacts: primed: @@ -82,8 +75,8 @@ pre_pack_hdrp_template_OSX_6000.4: logs: paths: - "Editor.log" -pack_hdrp_template_OSX_6000.4: - name: Pack HDRP Template OSX 6000.4 +pack_hdrp_template_OSX_trunk: + name: Pack HDRP Template OSX trunk agent: type: Unity::VM image: package-ci/win10:v4 @@ -96,16 +89,16 @@ pack_hdrp_template_OSX_6000.4: paths: - "upm-ci~/packages/**/*" - "upm-ci~/templates/**/*" -test_hdrp_template_OSX_6000.4: - name: Test HDRP Template OSX 6000.4 +test_hdrp_template_OSX_trunk: + name: Test HDRP Template OSX trunk agent: type: Unity::VM::osx image: package-ci/macos-13:v4 flavor: m1.mac dependencies: - - path: .yamato/_templates.yml#pack_hdrp_template_OSX_6000.4 + - path: .yamato/_templates.yml#pack_hdrp_template_OSX_trunk return: always - - path: .yamato/_editor_priming.yml#editor:priming:6000.4:OSX + - path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX return: always commands: - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm @@ -115,54 +108,54 @@ test_hdrp_template_OSX_6000.4: logs: paths: - "**/test-results/**" -publish_hdrp_template_6000.4: +publish_hdrp_template_trunk: agent: type: Unity::VM image: package-ci/win10:v4 flavor: b1.large - name: Publish HDRP Template 6000.4 + name: Publish HDRP Template trunk commands: - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm - upm-ci template publish --project-path com.unity.template-hd dependencies: - - path: .yamato/_templates.yml#test_hdrp_template_Win_6000.4 + - path: .yamato/_templates.yml#test_hdrp_template_Win_trunk return: always - - path: .yamato/_templates.yml#test_hdrp_template_OSX_6000.4 + - path: .yamato/_templates.yml#test_hdrp_template_OSX_trunk return: always - - path: .yamato/_templates.yml#pack_hdrp_template_Win_6000.4 + - path: .yamato/_templates.yml#pack_hdrp_template_Win_trunk return: always - - path: .yamato/_templates.yml#pack_hdrp_template_OSX_6000.4 + - path: .yamato/_templates.yml#pack_hdrp_template_OSX_trunk return: always artifacts: packages: paths: - "upm-ci~/packages/**/*" - "upm-ci~/templates/**/*" -publish_hdrp_template_6000.4_dry_run: +publish_hdrp_template_trunk_dry_run: agent: type: Unity::VM image: package-ci/win10:v4 flavor: b1.large - name: Publish HDRP Template 6000.4 Dry Run + name: Publish HDRP Template trunk Dry Run commands: - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm - upm-ci template publish --project-path com.unity.template-hd --dry-run dependencies: - - path: .yamato/_templates.yml#test_hdrp_template_Win_6000.4 + - path: .yamato/_templates.yml#test_hdrp_template_Win_trunk return: always - - path: .yamato/_templates.yml#test_hdrp_template_OSX_6000.4 + - path: .yamato/_templates.yml#test_hdrp_template_OSX_trunk return: always - - path: .yamato/_templates.yml#pack_hdrp_template_Win_6000.4 + - path: .yamato/_templates.yml#pack_hdrp_template_Win_trunk return: always - - path: .yamato/_templates.yml#pack_hdrp_template_OSX_6000.4 + - path: .yamato/_templates.yml#pack_hdrp_template_OSX_trunk return: always artifacts: packages: paths: - "upm-ci~/packages/**/*" - "upm-ci~/templates/**/*" -pre_pack_universal_template_Win_6000.4: - name: Pre-Pack Universal Template Win 6000.4 +pre_pack_universal_template_Win_trunk: + name: Pre-Pack Universal Template Win trunk agent: type: Unity::VM image: package-ci/win11:v4 @@ -172,7 +165,7 @@ pre_pack_universal_template_Win_6000.4: - unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only - .Editor\Unity.exe -projectPath com.unity.template-universal -batchmode -quit -logFile ./Editor.log dependencies: - - path: .yamato/_editor_priming.yml#editor:priming:6000.4:Win + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win return: always artifacts: primed: @@ -183,8 +176,8 @@ pre_pack_universal_template_Win_6000.4: logs: paths: - "Editor.log" -pack_universal_template_Win_6000.4: - name: Pack Universal Template Win 6000.4 +pack_universal_template_Win_trunk: + name: Pack Universal Template Win trunk agent: type: Unity::VM image: package-ci/win10:v4 @@ -197,16 +190,16 @@ pack_universal_template_Win_6000.4: paths: - "upm-ci~/packages/**/*" - "upm-ci~/templates/**/*" -test_universal_template_Win_6000.4: - name: Test Universal Template Win 6000.4 +test_universal_template_Win_trunk: + name: Test Universal Template Win trunk agent: type: Unity::VM image: package-ci/win11:v4 flavor: b1.large dependencies: - - path: .yamato/_templates.yml#pack_universal_template_Win_6000.4 + - path: .yamato/_templates.yml#pack_universal_template_Win_trunk return: always - - path: .yamato/_editor_priming.yml#editor:priming:6000.4:Win + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win return: always commands: - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm @@ -217,8 +210,8 @@ test_universal_template_Win_6000.4: logs: paths: - "**/test-results/**" -pre_pack_universal_template_OSX_6000.4: - name: Pre-Pack Universal Template OSX 6000.4 +pre_pack_universal_template_OSX_trunk: + name: Pre-Pack Universal Template OSX trunk agent: type: Unity::VM::osx image: package-ci/macos-13:v4 @@ -227,7 +220,7 @@ pre_pack_universal_template_OSX_6000.4: - unity-downloader-cli --source-file unity_revision.txt -c editor --wait --published-only - .Editor/Unity.app/Contents/MacOS/Unity -projectPath com.unity.template-universal -batchmode -quit -logFile ./Editor.log dependencies: - - path: .yamato/_editor_priming.yml#editor:priming:6000.4:OSX + - path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX return: always artifacts: primed: @@ -238,8 +231,8 @@ pre_pack_universal_template_OSX_6000.4: logs: paths: - "Editor.log" -pack_universal_template_OSX_6000.4: - name: Pack Universal Template OSX 6000.4 +pack_universal_template_OSX_trunk: + name: Pack Universal Template OSX trunk agent: type: Unity::VM image: package-ci/win10:v4 @@ -252,16 +245,16 @@ pack_universal_template_OSX_6000.4: paths: - "upm-ci~/packages/**/*" - "upm-ci~/templates/**/*" -test_universal_template_OSX_6000.4: - name: Test Universal Template OSX 6000.4 +test_universal_template_OSX_trunk: + name: Test Universal Template OSX trunk agent: type: Unity::VM::osx image: package-ci/macos-13:v4 flavor: m1.mac dependencies: - - path: .yamato/_templates.yml#pack_universal_template_OSX_6000.4 + - path: .yamato/_templates.yml#pack_universal_template_OSX_trunk return: always - - path: .yamato/_editor_priming.yml#editor:priming:6000.4:OSX + - path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX return: always commands: - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm @@ -271,62 +264,62 @@ test_universal_template_OSX_6000.4: logs: paths: - "**/test-results/**" -publish_universal_template_6000.4: +publish_universal_template_trunk: agent: type: Unity::VM image: package-ci/win10:v4 flavor: b1.large - name: Publish Universal Template 6000.4 + name: Publish Universal Template trunk commands: - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm - upm-ci template publish --project-path com.unity.template-universal dependencies: - - .yamato/_templates.yml#test_universal_template_Win_6000.4 - - .yamato/_templates.yml#test_universal_template_OSX_6000.4 - - .yamato/_templates.yml#pack_universal_template_Win_6000.4 - - .yamato/_templates.yml#pack_universal_template_OSX_6000.4 + - .yamato/_templates.yml#test_universal_template_Win_trunk + - .yamato/_templates.yml#test_universal_template_OSX_trunk + - .yamato/_templates.yml#pack_universal_template_Win_trunk + - .yamato/_templates.yml#pack_universal_template_OSX_trunk artifacts: packages: paths: - "upm-ci~/packages/**/*" - "upm-ci~/templates/**/*" -publish_universal_template_6000.4_dry_run: +publish_universal_template_trunk_dry_run: agent: type: Unity::VM image: package-ci/win10:v4 flavor: b1.large - name: Publish Universal Template 6000.4 Dry Run + name: Publish Universal Template trunk Dry Run commands: - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm - upm-ci template publish --project-path com.unity.template-universal --dry-run dependencies: - - path: .yamato/_templates.yml#test_universal_template_Win_6000.4 + - path: .yamato/_templates.yml#test_universal_template_Win_trunk return: always - - path: .yamato/_templates.yml#test_universal_template_OSX_6000.4 + - path: .yamato/_templates.yml#test_universal_template_OSX_trunk return: always - - path: .yamato/_templates.yml#pack_universal_template_Win_6000.4 + - path: .yamato/_templates.yml#pack_universal_template_Win_trunk return: always - - path: .yamato/_templates.yml#pack_universal_template_OSX_6000.4 + - path: .yamato/_templates.yml#pack_universal_template_OSX_trunk return: always artifacts: packages: paths: - "upm-ci~/packages/**/*" - "upm-ci~/templates/**/*" -all_template_ci_6000.4: - name: Pack and test all templates - 6000.4 +all_template_ci_trunk: + name: Pack and test all templates - trunk agent: type: Unity::VM image: package-ci/win10:v4 flavor: b1.large dependencies: - - path: .yamato/_templates.yml#test_hdrp_template_Win_6000.4 + - path: .yamato/_templates.yml#test_hdrp_template_Win_trunk rerun: always - - path: .yamato/_templates.yml#test_universal_template_Win_6000.4 + - path: .yamato/_templates.yml#test_universal_template_Win_trunk rerun: always - - path: .yamato/_templates.yml#test_hdrp_template_OSX_6000.4 + - path: .yamato/_templates.yml#test_hdrp_template_OSX_trunk rerun: always - - path: .yamato/_templates.yml#test_universal_template_OSX_6000.4 + - path: .yamato/_templates.yml#test_universal_template_OSX_trunk rerun: always commands: - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm diff --git a/.yamato/all-postprocessing.yml b/.yamato/all-postprocessing.yml new file mode 100644 index 00000000000..4e50afcd229 --- /dev/null +++ b/.yamato/all-postprocessing.yml @@ -0,0 +1,43 @@ +PR_PostProcessing_trunk: + name: PR PostProcessing on trunk + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UTR_VERSION: "current" + dependencies: + - path: .yamato/postprocessing-win-dx11.yml#PostProcessing_Win_DX11_Standalone_mono_Linear_trunk + rerun: on_new_revis + - path: .yamato/postprocessing-win-dx11.yml#PostProcessing_Win_DX11_playmode_mono_Linear_trunk + rerun: always + - path: .yamato/postprocessing-win-dx12.yml#PostProcessing_Win_DX12_playmode_mono_Linear_trunk + rerun: always + - path: .yamato/postprocessing-win-vulkan.yml#PostProcessing_Win_Vulkan_playmode_mono_Linear_trunk + rerun: always + - path: .yamato/postprocessing-osx-metal.yml#PostProcessing_OSX_Metal_playmode_mono_Linear_trunk + rerun: always + - path: .yamato/postprocessing-linux-vulkan.yml#PostProcessing_Linux_Vulkan_Standalone_mono_Linear_trunk + rerun: always + - path: .yamato/postprocessing-linux-vulkan.yml#PostProcessing_Linux_Vulkan_playmode_mono_Linear_trunk + rerun: always +Extra_PostProcessing_trunk: + name: Extra PostProcessing on trunk + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UTR_VERSION: "current" + dependencies: + - path: .yamato/postprocessing-win-dx12.yml#PostProcessing_Win_DX12_Standalone_mono_Linear_trunk + rerun: always + - path: .yamato/postprocessing-win-vulkan.yml#PostProcessing_Win_Vulkan_Standalone_mono_Linear_trunk + rerun: always +PostProcessing_trunk: + name: PostProcessing on trunk + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UTR_VERSION: "current" + dependencies: + - path: .yamato/all-postprocessing.yml#PR_PostProcessing_trunk + rerun: always + - path: .yamato/all-postprocessing.yml#Extra_PostProcessing_trunk + rerun: always diff --git a/.yamato/postprocessing-linux-vulkan.yml b/.yamato/postprocessing-linux-vulkan.yml new file mode 100644 index 00000000000..ebea0a07d28 --- /dev/null +++ b/.yamato/postprocessing-linux-vulkan.yml @@ -0,0 +1,102 @@ +PostProcessing_Linux_Vulkan_playmode_mono_Linear_trunk: + name: PostProcessing on Linux_Vulkan_playmode_mono_Linear on version trunk + agent: + type: Unity::VM::GPU + image: desktop/ubuntu-20.04-desktop:v2.1348791 + flavor: b1.large + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - command: sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}* + - command: curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add - + - command: sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list" + - command: sudo apt update + - command: sudo apt install unity-downloader-cli + retries: 2 + - command: sudo unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only + retries: 2 + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr + retries: 2 + - command: chmod +x utr + - command: DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-vulkan" --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=./TestProjects/PostProcessing_Tests + after: + - command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0 + - command: find_instabilities || exit 0 + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Linux + rerun: always +PostProcessing_Linux_Vulkan_Standalone_mono_Linear_trunk: + name: PostProcessing on Linux_Vulkan_Standalone_mono_Linear on version trunk + agent: + type: Unity::VM::GPU + image: desktop/ubuntu-20.04-desktop:v2.1348791 + flavor: b1.large + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr + retries: 2 + - command: chmod +x utr + - command: DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneLinux64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200 + after: + - command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0 + - command: find_instabilities || exit 0 + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Linux + rerun: always + - path: .yamato/postprocessing-linux-vulkan.yml#Build_PostProcessing_Linux_Vulkan_Standalone_mono_Linear_trunk + rerun: always +Build_PostProcessing_Linux_Vulkan_Standalone_mono_Linear_trunk: + name: Build PostProcessing on Linux_Vulkan_mono_Linear_Standalone_build_Player on version trunk + agent: + type: Unity::VM + image: desktop/ubuntu-20.04-desktop:v2.1348791 + flavor: b1.xlarge + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - command: sudo rm -f /etc/apt/sources.list /etc/apt/sources.list.d/{nodesource,teamviewer,deadsnakes-ubuntu-ppa-}* + - command: curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add - + - command: sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list" + - command: sudo apt update + - command: sudo apt install unity-downloader-cli + retries: 2 + - command: sudo unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only + retries: 2 + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr + retries: 2 + - command: chmod +x utr + - command: DISPLAY=:0.0 ./utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Vulkan" --platform=StandaloneLinux64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=./TestProjects/PostProcessing_Tests --timeout=1200 + after: + - command: pip3 install ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0 + - command: find_instabilities || exit 0 + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + players: + paths: + - "players*/**" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Linux + rerun: always diff --git a/.yamato/postprocessing-osx-metal.yml b/.yamato/postprocessing-osx-metal.yml new file mode 100644 index 00000000000..c9bcdce2ce0 --- /dev/null +++ b/.yamato/postprocessing-osx-metal.yml @@ -0,0 +1,76 @@ +PostProcessing_OSX_Metal_playmode_mono_Linear_trunk: + name: PostProcessing on OSX_Metal_playmode_mono_Linear on version trunk + agent: + type: Unity::metal::macmini + image: automation-tooling/macos-11:v2.1987114 + flavor: m1.mac + model: 2018-i3-macos11 + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - pip3 install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple + - unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr + retries: 2 + - chmod +x utr + - command: rsync -aq -e 'ssh -i ~/.ssh/id_rsa_macmini' --append --timeout=30 $YAMATO_SOURCE_DIR bokken@$BOKKEN_DEVICE_IP:~/ + retries: 2 + - command: scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini + retries: 2 + - command: |2- + ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; GIT_BRANCH='$GIT_BRANCH' GIT_COMMIT_TIME='$GIT_COMMIT_TIME' GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL' GIT_REVISION='$GIT_REVISION' YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME' YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME' YAMATO_JOB_ID='$YAMATO_JOB_ID' YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID' YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME' ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results --editor-location=/Users/bokken/Graphics/.Editor --extra-editor-arg="-colorspace=Linear" --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests " + UTR_RESULT=$? + scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results/ TestProjects/PostProcessing_Tests + exit $UTR_RESULT + after: + - command: pip3 install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0 + - command: find_instabilities || exit 0 + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX + rerun: always +PostProcessing_OSX_Metal_Standalone_mono_Linear_trunk: + name: PostProcessing on OSX_Metal_Standalone_mono_Linear on version trunk + agent: + type: Unity::metal::macmini + image: automation-tooling/macos-11:v2.1987114 + flavor: m1.mac + model: 2018-i3-macos11 + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - pip3 install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple + - unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr + retries: 2 + - chmod +x utr + - command: rsync -aq -e 'ssh -i ~/.ssh/id_rsa_macmini' --append --timeout=30 $YAMATO_SOURCE_DIR bokken@$BOKKEN_DEVICE_IP:~/ + retries: 2 + - command: scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini + retries: 2 + - command: |2- + ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; GIT_BRANCH='$GIT_BRANCH' GIT_COMMIT_TIME='$GIT_COMMIT_TIME' GIT_REPOSITORY_URL='$GIT_REPOSITORY_URL' GIT_REVISION='$GIT_REVISION' YAMATO_JOBDEFINITION_FRIENDLY_NAME='$YAMATO_JOBDEFINITION_FRIENDLY_NAME' YAMATO_JOBDEFINITION_NAME='$YAMATO_JOBDEFINITION_NAME' YAMATO_JOB_ID='$YAMATO_JOB_ID' YAMATO_PROJECT_ID='$YAMATO_PROJECT_ID' YAMATO_PROJECT_NAME='$YAMATO_PROJECT_NAME' ~/Graphics/utr --artifacts_path=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --platform=StandaloneOSX --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/PostProcessing_Tests --timeout=2400 " + UTR_RESULT=$? + scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/PostProcessing_Tests/test-results/ TestProjects/PostProcessing_Tests + exit $UTR_RESULT + after: + - command: pip3 install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0 + - command: find_instabilities || exit 0 + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX + rerun: always diff --git a/.yamato/postprocessing-win-dx11.yml b/.yamato/postprocessing-win-dx11.yml new file mode 100644 index 00000000000..e889f78ddde --- /dev/null +++ b/.yamato/postprocessing-win-dx11.yml @@ -0,0 +1,82 @@ +PostProcessing_Win_DX11_playmode_mono_Linear_trunk: + name: PostProcessing on Win_DX11_playmode_mono_Linear on version trunk + agent: + type: Unity::VM::GPU + image: automation-tooling/win10-21H1:v2.2309361 + flavor: b1.large + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local + retries: 2 + - command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only + retries: 2 + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat + retries: 2 + - command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-d3d11" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win + rerun: always +PostProcessing_Win_DX11_Standalone_mono_Linear_trunk: + name: PostProcessing on Win_DX11_Standalone_mono_Linear on version trunk + agent: + type: Unity::VM::GPU + image: automation-tooling/win10-21H1:v2.2309361 + flavor: b1.large + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat + retries: 2 + - command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win + rerun: always + - path: .yamato/postprocessing-win-dx11.yml#Build_PostProcessing_Win_DX11_Standalone_mono_Linear_trunk + rerun: always +Build_PostProcessing_Win_DX11_Standalone_mono_Linear_trunk: + name: Build PostProcessing on Win_DX11_mono_Linear_Standalone_build_Player on version trunk + agent: + type: Unity::VM + image: automation-tooling/win10-21H1:v2.2309361 + flavor: b1.xlarge + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local + retries: 2 + - command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only + retries: 2 + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat + retries: 2 + - command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d11" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Direct3D11" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + players: + paths: + - "players*/**" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win + rerun: always diff --git a/.yamato/postprocessing-win-dx12.yml b/.yamato/postprocessing-win-dx12.yml new file mode 100644 index 00000000000..13a04383d16 --- /dev/null +++ b/.yamato/postprocessing-win-dx12.yml @@ -0,0 +1,82 @@ +PostProcessing_Win_DX12_playmode_mono_Linear_trunk: + name: PostProcessing on Win_DX12_playmode_mono_Linear on version trunk + agent: + type: Unity::VM::GPU + image: automation-tooling/win10-21H1:v2.2309361 + flavor: b1.large + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local + retries: 2 + - command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only + retries: 2 + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat + retries: 2 + - command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-d3d12" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win + rerun: always +PostProcessing_Win_DX12_Standalone_mono_Linear_trunk: + name: PostProcessing on Win_DX12_Standalone_mono_Linear on version trunk + agent: + type: Unity::VM::GPU + image: automation-tooling/win10-21H1:v2.2309361 + flavor: b1.large + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat + retries: 2 + - command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win + rerun: always + - path: .yamato/postprocessing-win-dx12.yml#Build_PostProcessing_Win_DX12_Standalone_mono_Linear_trunk + rerun: always +Build_PostProcessing_Win_DX12_Standalone_mono_Linear_trunk: + name: Build PostProcessing on Win_DX12_mono_Linear_Standalone_build_Player on version trunk + agent: + type: Unity::VM + image: automation-tooling/win10-21H1:v2.2309361 + flavor: b1.xlarge + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local + retries: 2 + - command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only + retries: 2 + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat + retries: 2 + - command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="d3d12" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Direct3D12" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + players: + paths: + - "players*/**" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win + rerun: always diff --git a/.yamato/postprocessing-win-vulkan.yml b/.yamato/postprocessing-win-vulkan.yml new file mode 100644 index 00000000000..de64a3bf858 --- /dev/null +++ b/.yamato/postprocessing-win-vulkan.yml @@ -0,0 +1,82 @@ +PostProcessing_Win_Vulkan_playmode_mono_Linear_trunk: + name: PostProcessing on Win_Vulkan_playmode_mono_Linear on version trunk + agent: + type: Unity::VM::GPU + image: automation-tooling/win10-21H1:v2.2309361 + flavor: b1.large + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local + retries: 2 + - command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only + retries: 2 + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat + retries: 2 + - command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-vulkan" --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win + rerun: always +PostProcessing_Win_Vulkan_Standalone_mono_Linear_trunk: + name: PostProcessing on Win_Vulkan_Standalone_mono_Linear on version trunk + agent: + type: Unity::VM::GPU + image: automation-tooling/win10-21H1:v2.2309361 + flavor: b1.large + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat + retries: 2 + - command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --platform=StandaloneWindows64 --player-connection-ip=auto --player-load-path=players --suite=playmode --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win + rerun: always + - path: .yamato/postprocessing-win-vulkan.yml#Build_PostProcessing_Win_Vulkan_Standalone_mono_Linear_trunk + rerun: always +Build_PostProcessing_Win_Vulkan_Standalone_mono_Linear_trunk: + name: Build PostProcessing on Win_Vulkan_mono_Linear_Standalone_build_Player on version trunk + agent: + type: Unity::VM + image: automation-tooling/win10-21H1:v2.2309361 + flavor: b1.xlarge + variables: + CUSTOM_REVISION: 'trunk' + TEST_FILTER: .* + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + UTR_VERSION: "current" + commands: + - command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local + retries: 2 + - command: unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only + retries: 2 + - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat + retries: 2 + - command: utr --artifacts_path=TestProjects/PostProcessing_Tests/test-results --build-only --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="vulkan" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=Vulkan" --platform=StandaloneWindows64 --player-save-path=players --scripting-backend=Mono2x --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/PostProcessing_Tests --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + - "TestProjects/PostProcessing_Tests/Logs/*.log" + players: + paths: + - "players*/**" + dependencies: + - path: .yamato/_editor_priming.yml#editor:priming:trunk:Win + rerun: always