From 8a4ce855ad97775d27622065feb6595ab443cc19 Mon Sep 17 00:00:00 2001 From: Theo Penavaire Date: Mon, 12 Oct 2020 17:02:31 +0200 Subject: [PATCH] Manual cherry pick of #1680 (Split smoke + linux tests) --- .yamato/_abv.yml | 218 +-------------- .yamato/all-smoke_test.yml | 34 +++ .yamato/config/_abv.metafile | 16 +- .yamato/config/smoke_test.metafile | 19 ++ .yamato/hdrp-linux-vulkan.yml | 82 +++++- .yamato/ruamel/build.py | 2 +- .../jobs/abv/abv_all_project_ci_nightly.py | 13 +- .yamato/ruamel/jobs/abv/yml_abv.py | 11 +- .../jobs/projects/commands/_cmd_mapper.py | 2 +- .../ruamel/jobs/projects/commands/linux.py | 29 +- .../jobs/projects/commands/linux_split.py | 37 --- .yamato/ruamel/jobs/shared/namer.py | 6 - .yamato/shadergraph-linux-vulkan.yml | 82 +++++- .yamato/smoke_test-win-dx11.yml | 261 ++++++++++++++++++ .yamato/universal-linux-vulkan.yml | 82 +++++- .yamato/vfx_hdrp-linux-vulkan.yml | 82 +++++- .yamato/vfx_urp-linux-vulkan.yml | 82 +++++- 17 files changed, 746 insertions(+), 312 deletions(-) create mode 100644 .yamato/all-smoke_test.yml create mode 100644 .yamato/config/smoke_test.metafile delete mode 100644 .yamato/ruamel/jobs/projects/commands/linux_split.py create mode 100644 .yamato/smoke_test-win-dx11.yml diff --git a/.yamato/_abv.yml b/.yamato/_abv.yml index 85300d32540..cfeaf035e4f 100644 --- a/.yamato/_abv.yml +++ b/.yamato/_abv.yml @@ -3,75 +3,6 @@ # 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 -smoke_test_Standalone_2019.4: - name: SRP Smoke Test - Standalone_2019.4 - agent: - type: Unity::VM::GPU - image: sdet/gamecode_win10:stable - flavor: b1.large - variables: - UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates - commands: - - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat - - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade - - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor --wait --published-only - - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --platform=StandaloneWindows64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --timeout=1200 - dependencies: - - path: .yamato/_editor.yml#editor:priming:2019.4:windows - rerun: on-new-revision - artifacts: - logs: - paths: - - "**/test-results/**" -smoke_test_playmode_2019.4: - name: SRP Smoke Test - playmode_2019.4 - agent: - type: Unity::VM::GPU - image: sdet/gamecode_win10:stable - flavor: b1.large - variables: - UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates - commands: - - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat - - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade - - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor --wait --published-only - - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results - dependencies: - - path: .yamato/_editor.yml#editor:priming:2019.4:windows - rerun: on-new-revision - artifacts: - logs: - paths: - - "**/test-results/**" -smoke_test_editmode_2019.4: - name: SRP Smoke Test - editmode_2019.4 - agent: - type: Unity::VM - image: sdet/gamecode_win10:stable - flavor: b1.large - variables: - UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates - commands: - - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat - - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade - - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor --wait --published-only - - cd TestProjects/SRP_SmokeTest && utr --suite=editor --platform=editmode --testproject=. --editor-location=.Editor --artifacts_path=test-results - dependencies: - - path: .yamato/_editor.yml#editor:priming:2019.4:windows - rerun: on-new-revision - artifacts: - logs: - paths: - - "**/test-results/**" -all_smoke_tests_2019.4: - name: All Smoke Tests - 2019.4 - dependencies: - - path: .yamato/_abv.yml#smoke_test_Standalone_2019.4 - rerun: on-new-revision - - path: .yamato/_abv.yml#smoke_test_playmode_2019.4 - rerun: on-new-revision - - path: .yamato/_abv.yml#smoke_test_editmode_2019.4 - rerun: on-new-revision all_project_ci_2019.4: name: _ABV for SRP repository - 2019.4 dependencies: @@ -92,11 +23,11 @@ all_project_ci_nightly_2019.4: dependencies: - path: .yamato/_abv.yml#all_project_ci_2019.4 rerun: on-new-revision - - path: .yamato/_abv.yml#smoke_test_Standalone_2019.4 + - path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_playmode_2019.4 rerun: on-new-revision - - path: .yamato/_abv.yml#smoke_test_playmode_2019.4 + - path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_editmode_2019.4 rerun: on-new-revision - - path: .yamato/_abv.yml#smoke_test_editmode_2019.4 + - path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_Standalone_2019.4 rerun: on-new-revision triggers: recurring: @@ -123,75 +54,6 @@ trunk_verification_2019.4: rerun: on-new-revision - path: .yamato/vfx_urp-win-dx11.yml#VFX_URP_Win_DX11_playmode_2019.4 rerun: on-new-revision -smoke_test_Standalone_fast-2019.4: - name: SRP Smoke Test - Standalone_fast-2019.4 - agent: - type: Unity::VM::GPU - image: sdet/gamecode_win10:stable - flavor: b1.large - variables: - UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates - commands: - - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat - - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade - - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor --wait --published-only - - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --platform=StandaloneWindows64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --timeout=1200 - dependencies: - - path: .yamato/_editor.yml#editor:priming:fast-2019.4:windows - rerun: on-new-revision - artifacts: - logs: - paths: - - "**/test-results/**" -smoke_test_playmode_fast-2019.4: - name: SRP Smoke Test - playmode_fast-2019.4 - agent: - type: Unity::VM::GPU - image: sdet/gamecode_win10:stable - flavor: b1.large - variables: - UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates - commands: - - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat - - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade - - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor --wait --published-only - - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results - dependencies: - - path: .yamato/_editor.yml#editor:priming:fast-2019.4:windows - rerun: on-new-revision - artifacts: - logs: - paths: - - "**/test-results/**" -smoke_test_editmode_fast-2019.4: - name: SRP Smoke Test - editmode_fast-2019.4 - agent: - type: Unity::VM - image: sdet/gamecode_win10:stable - flavor: b1.large - variables: - UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates - commands: - - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat - - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade - - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor --wait --published-only - - cd TestProjects/SRP_SmokeTest && utr --suite=editor --platform=editmode --testproject=. --editor-location=.Editor --artifacts_path=test-results - dependencies: - - path: .yamato/_editor.yml#editor:priming:fast-2019.4:windows - rerun: on-new-revision - artifacts: - logs: - paths: - - "**/test-results/**" -all_smoke_tests_fast-2019.4: - name: All Smoke Tests - fast-2019.4 - dependencies: - - path: .yamato/_abv.yml#smoke_test_Standalone_fast-2019.4 - rerun: on-new-revision - - path: .yamato/_abv.yml#smoke_test_playmode_fast-2019.4 - rerun: on-new-revision - - path: .yamato/_abv.yml#smoke_test_editmode_fast-2019.4 - rerun: on-new-revision all_project_ci_fast-2019.4: name: _ABV for SRP repository - fast-2019.4 dependencies: @@ -230,80 +92,6 @@ trunk_verification_fast-2019.4: rerun: on-new-revision - path: .yamato/vfx_urp-win-dx11.yml#VFX_URP_Win_DX11_playmode_fast-2019.4 rerun: on-new-revision -smoke_test_Standalone_CUSTOM-REVISION: - name: SRP Smoke Test - Standalone_CUSTOM-REVISION - agent: - type: Unity::VM::GPU - image: sdet/gamecode_win10:stable - flavor: b1.large - variables: - UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates - CUSTOM_REVISION: custom_revision_not_set - commands: - - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat - - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade - - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor --wait --published-only - - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --platform=StandaloneWindows64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --timeout=1200 - dependencies: - - path: .yamato/_editor.yml#editor:priming:CUSTOM-REVISION:windows - rerun: always - artifacts: - logs: - paths: - - "**/test-results/**" -smoke_test_playmode_CUSTOM-REVISION: - name: SRP Smoke Test - playmode_CUSTOM-REVISION - agent: - type: Unity::VM::GPU - image: sdet/gamecode_win10:stable - flavor: b1.large - variables: - UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates - CUSTOM_REVISION: custom_revision_not_set - commands: - - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat - - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade - - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor --wait --published-only - - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results - dependencies: - - path: .yamato/_editor.yml#editor:priming:CUSTOM-REVISION:windows - rerun: always - artifacts: - logs: - paths: - - "**/test-results/**" -smoke_test_editmode_CUSTOM-REVISION: - name: SRP Smoke Test - editmode_CUSTOM-REVISION - agent: - type: Unity::VM - image: sdet/gamecode_win10:stable - flavor: b1.large - variables: - UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates - CUSTOM_REVISION: custom_revision_not_set - commands: - - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat - - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade - - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor --wait --published-only - - cd TestProjects/SRP_SmokeTest && utr --suite=editor --platform=editmode --testproject=. --editor-location=.Editor --artifacts_path=test-results - dependencies: - - path: .yamato/_editor.yml#editor:priming:CUSTOM-REVISION:windows - rerun: always - artifacts: - logs: - paths: - - "**/test-results/**" -all_smoke_tests_CUSTOM-REVISION: - name: All Smoke Tests - CUSTOM-REVISION - dependencies: - - path: .yamato/_abv.yml#smoke_test_Standalone_CUSTOM-REVISION - rerun: always - - path: .yamato/_abv.yml#smoke_test_playmode_CUSTOM-REVISION - rerun: always - - path: .yamato/_abv.yml#smoke_test_editmode_CUSTOM-REVISION - rerun: always - variables: - CUSTOM_REVISION: custom_revision_not_set all_project_ci_CUSTOM-REVISION: name: _ABV for SRP repository - CUSTOM-REVISION dependencies: diff --git a/.yamato/all-smoke_test.yml b/.yamato/all-smoke_test.yml new file mode 100644 index 00000000000..c3ffc07c34d --- /dev/null +++ b/.yamato/all-smoke_test.yml @@ -0,0 +1,34 @@ + +# 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 + +All_Smoke_Test_2019.4: + name: All Smoke_Test CI - 2019.4 + dependencies: + - path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_playmode_2019.4 + rerun: on-new-revision + - path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_editmode_2019.4 + rerun: on-new-revision + - path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_Standalone_2019.4 + rerun: on-new-revision +All_Smoke_Test_fast-2019.4: + name: All Smoke_Test CI - fast-2019.4 + dependencies: + - path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_playmode_fast-2019.4 + rerun: on-new-revision + - path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_editmode_fast-2019.4 + rerun: on-new-revision + - path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_Standalone_fast-2019.4 + rerun: on-new-revision +All_Smoke_Test_CUSTOM-REVISION: + name: All Smoke_Test CI - CUSTOM-REVISION + dependencies: + - path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_playmode_CUSTOM-REVISION + rerun: always + - path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_editmode_CUSTOM-REVISION + rerun: always + - path: .yamato/smoke_test-win-dx11.yml#Smoke_Test_Win_DX11_Standalone_CUSTOM-REVISION + rerun: always + variables: + CUSTOM_REVISION: custom_revision_not_set diff --git a/.yamato/config/_abv.metafile b/.yamato/config/_abv.metafile index e22a7781028..c317e42fe80 100644 --- a/.yamato/config/_abv.metafile +++ b/.yamato/config/_abv.metafile @@ -10,14 +10,14 @@ abv: # specify the editor versions for which to create the expression trigger fo nightly: allowed_editors: # specify the editor versions for which to create nightly jobs - 2019.4 -smoke_test: # specifications for smoke tests - folder: SRP_SmokeTest - agent: sdet_win_large # used for editmode - agent_gpu: sdet_win_large_gpu # used for non-editmode - test_platforms: - - type: Standalone - - type: playmode - - type: editmode + extra_dependencies: + - project: Smoke_Test + platform: Win + api: DX11 + test_platforms: + - playmode + - editmode + - Standalone trunk_verification: # jobs to include in trunk verification job dependencies: - project: Universal diff --git a/.yamato/config/smoke_test.metafile b/.yamato/config/smoke_test.metafile new file mode 100644 index 00000000000..037c9c4dcd3 --- /dev/null +++ b/.yamato/config/smoke_test.metafile @@ -0,0 +1,19 @@ +project: + name: Smoke_Test + folder: SRP_SmokeTest +test_platforms: + - type: playmode + - type: editmode + - type: Standalone +platforms: + - name: Win + apis: + - DX11 +all: + dependencies: + - platform: Win + api: DX11 + test_platforms: + - playmode + - editmode + - Standalone \ No newline at end of file diff --git a/.yamato/hdrp-linux-vulkan.yml b/.yamato/hdrp-linux-vulkan.yml index ad3f46eb1ea..4fb5a68df05 100644 --- a/.yamato/hdrp-linux-vulkan.yml +++ b/.yamato/hdrp-linux-vulkan.yml @@ -49,6 +49,28 @@ HDRP_Linux_Vulkan_editmode_2019.4: - "**/test-results/**" HDRP_Linux_Vulkan_Standalone_2019.4: name: HDRP on Linux_Vulkan_Standalone on version 2019.4 + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:2019.4:linux + rerun: on-new-revision + - path: .yamato/hdrp-linux-vulkan.yml#Build_HDRP_Linux_Vulkan_Player_2019.4 + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/HDRP_RuntimeTests/utr + - chmod +x TestProjects/HDRP_RuntimeTests/utr + - cd TestProjects/HDRP_RuntimeTests && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_HDRP_Linux_Vulkan_Player_2019.4: + name: Build HDRP on Linux_Vulkan_Player on version 2019.4 agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -64,11 +86,14 @@ HDRP_Linux_Vulkan_Standalone_2019.4: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/HDRP_RuntimeTests/utr - chmod +x TestProjects/HDRP_RuntimeTests/utr - cd TestProjects/HDRP_RuntimeTests && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/HDRP_RuntimeTests && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/HDRP_RuntimeTests && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" HDRP_Linux_Vulkan_playmode_fast-2019.4: name: HDRP on Linux_Vulkan_playmode on version fast-2019.4 agent: @@ -115,6 +140,28 @@ HDRP_Linux_Vulkan_editmode_fast-2019.4: - "**/test-results/**" HDRP_Linux_Vulkan_Standalone_fast-2019.4: name: HDRP on Linux_Vulkan_Standalone on version fast-2019.4 + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:fast-2019.4:linux + rerun: on-new-revision + - path: .yamato/hdrp-linux-vulkan.yml#Build_HDRP_Linux_Vulkan_Player_fast-2019.4 + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/HDRP_RuntimeTests/utr + - chmod +x TestProjects/HDRP_RuntimeTests/utr + - cd TestProjects/HDRP_RuntimeTests && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_HDRP_Linux_Vulkan_Player_fast-2019.4: + name: Build HDRP on Linux_Vulkan_Player on version fast-2019.4 agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -130,11 +177,14 @@ HDRP_Linux_Vulkan_Standalone_fast-2019.4: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/HDRP_RuntimeTests/utr - chmod +x TestProjects/HDRP_RuntimeTests/utr - cd TestProjects/HDRP_RuntimeTests && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/HDRP_RuntimeTests && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/HDRP_RuntimeTests && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" HDRP_Linux_Vulkan_playmode_CUSTOM-REVISION: name: HDRP on Linux_Vulkan_playmode on version CUSTOM-REVISION agent: @@ -183,6 +233,29 @@ HDRP_Linux_Vulkan_editmode_CUSTOM-REVISION: - "**/test-results/**" HDRP_Linux_Vulkan_Standalone_CUSTOM-REVISION: name: HDRP on Linux_Vulkan_Standalone on version CUSTOM-REVISION + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + CUSTOM_REVISION: custom_revision_not_set + dependencies: + - path: .yamato/_editor.yml#editor:priming:CUSTOM-REVISION:linux + rerun: always + - path: .yamato/hdrp-linux-vulkan.yml#Build_HDRP_Linux_Vulkan_Player_CUSTOM-REVISION + rerun: always + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/HDRP_RuntimeTests/utr + - chmod +x TestProjects/HDRP_RuntimeTests/utr + - cd TestProjects/HDRP_RuntimeTests && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_HDRP_Linux_Vulkan_Player_CUSTOM-REVISION: + name: Build HDRP on Linux_Vulkan_Player on version CUSTOM-REVISION agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -199,8 +272,11 @@ HDRP_Linux_Vulkan_Standalone_CUSTOM-REVISION: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/HDRP_RuntimeTests/utr - chmod +x TestProjects/HDRP_RuntimeTests/utr - cd TestProjects/HDRP_RuntimeTests && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/HDRP_RuntimeTests && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/HDRP_RuntimeTests && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" diff --git a/.yamato/ruamel/build.py b/.yamato/ruamel/build.py index eaff9b72be5..e58786e5f5b 100644 --- a/.yamato/ruamel/build.py +++ b/.yamato/ruamel/build.py @@ -88,7 +88,7 @@ def get_metafile(metafile_name, unfold_agents_root_keys=[], unfold_test_platform # create abv print(f'Running: ABV') - abv_metafile = get_metafile(os.path.join(config_dir,'_abv.metafile'), unfold_agents_root_keys=['smoke_test'], unfold_test_platforms_root_keys=['smoke_test']) + abv_metafile = get_metafile(os.path.join(config_dir,'_abv.metafile')) yml_dump_files(create_abv_ymls(abv_metafile)) # create preview publish diff --git a/.yamato/ruamel/jobs/abv/abv_all_project_ci_nightly.py b/.yamato/ruamel/jobs/abv/abv_all_project_ci_nightly.py index c999c44e557..08028ef2242 100644 --- a/.yamato/ruamel/jobs/abv/abv_all_project_ci_nightly.py +++ b/.yamato/ruamel/jobs/abv/abv_all_project_ci_nightly.py @@ -4,14 +4,14 @@ class ABV_AllProjectCiNightlyJob(): - def __init__(self, editor, projects, test_platforms, nightly_config, target_branch): + def __init__(self, editor, projects, nightly_config, target_branch): if editor["version"] not in nightly_config["allowed_editors"]: raise Exception(f'Tried to construct nightly with PR trigger for version {editor["version"]}') self.job_id = abv_job_id_all_project_ci_nightly(editor["version"]) - self.yml = self.get_job_definition(editor, projects, test_platforms, nightly_config.get("extra_dependencies",[]), target_branch).get_yml() + self.yml = self.get_job_definition(editor, projects, nightly_config.get("extra_dependencies",[]), target_branch).get_yml() - def get_job_definition(self, editor, projects, test_platforms, extra_dependencies, target_branch): + def get_job_definition(self, editor, projects, extra_dependencies, target_branch): # define dependencies dependencies = [ @@ -25,12 +25,7 @@ def get_job_definition(self, editor, projects, test_platforms, extra_dependencie # 'rerun': editor["rerun_strategy"] # } ] - - for test_platform in test_platforms: # TODO replace with all_smoke_tests if rerun strategy can override lower level ones - dependencies.append({ - 'path': f'{abv_filepath()}#{abv_job_id_smoke_test(editor["version"],test_platform["name"])}', - 'rerun': editor["rerun_strategy"]}) - + for dep in extra_dependencies: if dep.get("all"): dependencies.append({ diff --git a/.yamato/ruamel/jobs/abv/yml_abv.py b/.yamato/ruamel/jobs/abv/yml_abv.py index e0e096e52c9..a6b3b058562 100644 --- a/.yamato/ruamel/jobs/abv/yml_abv.py +++ b/.yamato/ruamel/jobs/abv/yml_abv.py @@ -1,8 +1,6 @@ from ..shared.namer import abv_filepath from jobs.abv.abv_all_project_ci import ABV_AllProjectCiJob from jobs.abv.abv_all_project_ci_nightly import ABV_AllProjectCiNightlyJob -from jobs.abv.abv_all_smoke_tests import ABV_AllSmokeTestsJob -from jobs.abv.abv_smoke_test import ABV_SmokeTestJob from jobs.abv.abv_trunk_verification import ABV_TrunkVerificationJob def create_abv_ymls(metafile): @@ -10,18 +8,11 @@ def create_abv_ymls(metafile): yml = {} for editor in metafile["editors"]: - for test_platform in metafile["smoke_test"]["test_platforms"]: - job = ABV_SmokeTestJob(editor, test_platform, metafile["smoke_test"]) - yml[job.job_id] = job.yml - - job = ABV_AllSmokeTestsJob(editor, metafile["smoke_test"]["test_platforms"]) - yml[job.job_id] = job.yml - job = ABV_AllProjectCiJob(editor, metafile["abv"]["projects"], metafile["abv"]["trigger_editors"], metafile["target_branch"]) yml[job.job_id] = job.yml if editor["version"] in metafile["nightly"]["allowed_editors"]: - job = ABV_AllProjectCiNightlyJob(editor, metafile["abv"]["projects"], metafile["smoke_test"]["test_platforms"], metafile["nightly"], metafile["target_branch"]) + job = ABV_AllProjectCiNightlyJob(editor, metafile["abv"]["projects"], metafile["nightly"], metafile["target_branch"]) yml[job.job_id] = job.yml job = ABV_TrunkVerificationJob(editor, metafile["trunk_verification"]["dependencies"]) diff --git a/.yamato/ruamel/jobs/projects/commands/_cmd_mapper.py b/.yamato/ruamel/jobs/projects/commands/_cmd_mapper.py index defba481681..0c4e5839216 100644 --- a/.yamato/ruamel/jobs/projects/commands/_cmd_mapper.py +++ b/.yamato/ruamel/jobs/projects/commands/_cmd_mapper.py @@ -1,4 +1,4 @@ -from . import win, osx_openglcore, osx_metal, linux, android, linux_split, iphone +from . import win, osx_openglcore, osx_metal, linux, android, iphone cmd_map = { 'win' : { diff --git a/.yamato/ruamel/jobs/projects/commands/linux.py b/.yamato/ruamel/jobs/projects/commands/linux.py index 991490f2248..7144db92a6b 100644 --- a/.yamato/ruamel/jobs/projects/commands/linux.py +++ b/.yamato/ruamel/jobs/projects/commands/linux.py @@ -1,4 +1,4 @@ -from ...shared.constants import TEST_PROJECTS_DIR,PATH_UNITY_REVISION, PATH_TEST_RESULTS, UNITY_DOWNLOADER_CLI_URL, UTR_INSTALL_URL,get_unity_downloader_cli_cmd, get_timeout +from ...shared.constants import TEST_PROJECTS_DIR,PATH_UNITY_REVISION, PATH_TEST_RESULTS, UNITY_DOWNLOADER_CLI_URL, UTR_INSTALL_URL, PATH_PLAYERS, get_unity_downloader_cli_cmd, get_timeout from ...shared.utr_utils import utr_editmode_flags, utr_playmode_flags, utr_standalone_split_flags,utr_standalone_not_split_flags, utr_standalone_build_flags @@ -32,17 +32,26 @@ def cmd_playmode(project_folder, platform, api, test_platform, editor): return _cmd_base(project_folder, platform, utr_args, editor) def cmd_standalone(project_folder, platform, api, test_platform, editor): - try: - cmd_standalone_build(project_folder, platform, api, test_platform) - utr_args = utr_standalone_split_flags("Linux64") - except: - utr_args = utr_standalone_not_split_flags("Linux64") + utr_args = utr_standalone_split_flags("Linux64") utr_args.extend(test_platform["extra_utr_flags"]) - utr_args.extend(['--extra-editor-arg="-executemethod"', f'--extra-editor-arg="CustomBuild.BuildLinux{api["name"]}Linear"']) + utr_args.append(f'--timeout={get_timeout(test_platform, "Linux")}') - - return _cmd_base(project_folder, platform, utr_args, editor) + base = [f'curl -s {UTR_INSTALL_URL} --output {TEST_PROJECTS_DIR}/{project_folder}/utr'] + base.extend([ + f'chmod +x {TEST_PROJECTS_DIR}/{project_folder}/utr', + f'cd {TEST_PROJECTS_DIR}/{project_folder} && ./utr {" ".join(utr_args)}']) + + return base def cmd_standalone_build(project_folder, platform, api, test_platform, editor): - raise NotImplementedError('linux: split build not specified') + utr_args = utr_standalone_build_flags("Linux64") + utr_args.extend(test_platform["extra_utr_flags_build"]) + utr_args.extend(['--extra-editor-arg="-executemethod"']) + utr_args.append(f'--timeout={get_timeout(test_platform, "Linux", build=True)}') + + if not test_platform['is_performance']: + utr_args.extend([f'--extra-editor-arg="CustomBuild.BuildLinux{api["name"]}Linear"']) + + + return _cmd_base(project_folder, platform, utr_args, editor) \ No newline at end of file diff --git a/.yamato/ruamel/jobs/projects/commands/linux_split.py b/.yamato/ruamel/jobs/projects/commands/linux_split.py deleted file mode 100644 index a662b31840b..00000000000 --- a/.yamato/ruamel/jobs/projects/commands/linux_split.py +++ /dev/null @@ -1,37 +0,0 @@ -from ...shared.constants import TEST_PROJECTS_DIR,PATH_UNITY_REVISION, PATH_TEST_RESULTS, PATH_PLAYERS, UTR_INSTALL_URL, UNITY_DOWNLOADER_CLI_URL, get_unity_downloader_cli_cmd,get_unity_downloader_cli_cmd - -def _cmd_base(project_folder, components): - return [ - f'sudo -H pip install --upgrade pip', - f'sudo -H pip install unity-downloader-cli --index-url {UNITY_DOWNLOADER_CLI_URL} --upgrade', - f'curl -s {UTR_INSTALL_URL} --output {TEST_PROJECTS_DIR}/{project_folder}/utr', - f'chmod +x {TEST_PROJECTS_DIR}/{project_folder}/utr', - f'cd {TEST_PROJECTS_DIR}/{project_folder} && unity-downloader-cli --source-file ../../{PATH_UNITY_REVISION} {"".join([f"-c {c} " for c in components])} --wait --published-only' - ] - - -def cmd_not_standalone(project_folder, platform, api, test_platform, editor): - base = _cmd_base(project_folder, platform, editor) - base.extend([ - f'cd {TEST_PROJECTS_DIR}/{project_folder} && DISPLAY=:0.0 utr {test_platform["extra_utr_flags"]} --testproject=. --editor-location=.Editor --artifacts_path={PATH_TEST_RESULTS}' - ]) - base[-1] += f' --extra-editor-arg="{platform["apis"][api]}"' if (api != "" and platform["apis"][api] != None) else '' - return base - -def cmd_standalone(project_folder, platform, api, test_platform, editor): - base = [ - f'curl -s {UTR_INSTALL_URL} --output {TEST_PROJECTS_DIR}/{project_folder}/utr', - f'chmod +x {TEST_PROJECTS_DIR}/{project_folder}/utr', - ] - base.extend([ - f'cd {TEST_PROJECTS_DIR}/{project_folder} && DISPLAY=:0.0 utr {test_platform["extra_utr_flags"]}Linux64 --artifacts_path={PATH_TEST_RESULTS} --timeout=1200 --player-load-path=.{PATH_PLAYERS} --player-connection-ip=auto' - ]) - return base - -def cmd_standalone_build(project_folder, platform, api, test_platform, editor): - base = _cmd_base(project_folder, platform, editor) - base.extend([ - f'cd {TEST_PROJECTS_DIR}/{project_folder} && DISPLAY=:0.0 utr {test_platform["extra_utr_flags_build"]}Linux64 --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinux{api["name"]}Linear" --testproject=. --editor-location=.Editor --artifacts_path={PATH_TEST_RESULTS} --timeout=1200 --player-save-path=.{PATH_PLAYERS} --build-only' - ]) - return base - diff --git a/.yamato/ruamel/jobs/shared/namer.py b/.yamato/ruamel/jobs/shared/namer.py index 8eb1249c1a0..378b7e6293f 100644 --- a/.yamato/ruamel/jobs/shared/namer.py +++ b/.yamato/ruamel/jobs/shared/namer.py @@ -114,12 +114,6 @@ def abv_job_id_all_project_ci(editor_version): def abv_job_id_all_project_ci_nightly(editor_version): return f'all_project_ci_nightly_{editor_version}' -def abv_job_id_smoke_test(editor_version, test_platform_name): - return f'smoke_test_{test_platform_name}_{editor_version}' - -def abv_job_id_all_smoke_tests(editor_version): - return f'all_smoke_tests_{editor_version}' - def abv_job_id_trunk_verification(editor_version): return f'trunk_verification_{editor_version}' diff --git a/.yamato/shadergraph-linux-vulkan.yml b/.yamato/shadergraph-linux-vulkan.yml index 363c97e03b3..495eac3ae0c 100644 --- a/.yamato/shadergraph-linux-vulkan.yml +++ b/.yamato/shadergraph-linux-vulkan.yml @@ -5,6 +5,28 @@ ShaderGraph_Linux_Vulkan_Standalone_2019.4: name: ShaderGraph on Linux_Vulkan_Standalone on version 2019.4 + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:2019.4:linux + rerun: on-new-revision + - path: .yamato/shadergraph-linux-vulkan.yml#Build_ShaderGraph_Linux_Vulkan_Player_2019.4 + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/ShaderGraph/utr + - chmod +x TestProjects/ShaderGraph/utr + - cd TestProjects/ShaderGraph && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_ShaderGraph_Linux_Vulkan_Player_2019.4: + name: Build ShaderGraph on Linux_Vulkan_Player on version 2019.4 agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -20,11 +42,14 @@ ShaderGraph_Linux_Vulkan_Standalone_2019.4: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/ShaderGraph/utr - chmod +x TestProjects/ShaderGraph/utr - cd TestProjects/ShaderGraph && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/ShaderGraph && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/ShaderGraph && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" ShaderGraph_Linux_Vulkan_playmode_2019.4: name: ShaderGraph on Linux_Vulkan_playmode on version 2019.4 agent: @@ -71,6 +96,28 @@ ShaderGraph_Linux_Vulkan_editmode_2019.4: - "**/test-results/**" ShaderGraph_Linux_Vulkan_Standalone_fast-2019.4: name: ShaderGraph on Linux_Vulkan_Standalone on version fast-2019.4 + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:fast-2019.4:linux + rerun: on-new-revision + - path: .yamato/shadergraph-linux-vulkan.yml#Build_ShaderGraph_Linux_Vulkan_Player_fast-2019.4 + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/ShaderGraph/utr + - chmod +x TestProjects/ShaderGraph/utr + - cd TestProjects/ShaderGraph && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_ShaderGraph_Linux_Vulkan_Player_fast-2019.4: + name: Build ShaderGraph on Linux_Vulkan_Player on version fast-2019.4 agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -86,11 +133,14 @@ ShaderGraph_Linux_Vulkan_Standalone_fast-2019.4: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/ShaderGraph/utr - chmod +x TestProjects/ShaderGraph/utr - cd TestProjects/ShaderGraph && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/ShaderGraph && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/ShaderGraph && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" ShaderGraph_Linux_Vulkan_playmode_fast-2019.4: name: ShaderGraph on Linux_Vulkan_playmode on version fast-2019.4 agent: @@ -137,6 +187,29 @@ ShaderGraph_Linux_Vulkan_editmode_fast-2019.4: - "**/test-results/**" ShaderGraph_Linux_Vulkan_Standalone_CUSTOM-REVISION: name: ShaderGraph on Linux_Vulkan_Standalone on version CUSTOM-REVISION + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + CUSTOM_REVISION: custom_revision_not_set + dependencies: + - path: .yamato/_editor.yml#editor:priming:CUSTOM-REVISION:linux + rerun: always + - path: .yamato/shadergraph-linux-vulkan.yml#Build_ShaderGraph_Linux_Vulkan_Player_CUSTOM-REVISION + rerun: always + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/ShaderGraph/utr + - chmod +x TestProjects/ShaderGraph/utr + - cd TestProjects/ShaderGraph && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_ShaderGraph_Linux_Vulkan_Player_CUSTOM-REVISION: + name: Build ShaderGraph on Linux_Vulkan_Player on version CUSTOM-REVISION agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -153,11 +226,14 @@ ShaderGraph_Linux_Vulkan_Standalone_CUSTOM-REVISION: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/ShaderGraph/utr - chmod +x TestProjects/ShaderGraph/utr - cd TestProjects/ShaderGraph && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/ShaderGraph && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/ShaderGraph && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" ShaderGraph_Linux_Vulkan_playmode_CUSTOM-REVISION: name: ShaderGraph on Linux_Vulkan_playmode on version CUSTOM-REVISION agent: diff --git a/.yamato/smoke_test-win-dx11.yml b/.yamato/smoke_test-win-dx11.yml new file mode 100644 index 00000000000..55ba8f8c6d4 --- /dev/null +++ b/.yamato/smoke_test-win-dx11.yml @@ -0,0 +1,261 @@ + +# 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 + +Smoke_Test_Win_DX11_playmode_2019.4: + name: Smoke_Test on Win_DX11_playmode on version 2019.4 + agent: + type: Unity::VM::GPU + image: sdet/gamecode_win10:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:2019.4:windows + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat + - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade + - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only + - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results --extra-editor-arg="-force-d3d11" + artifacts: + logs: + paths: + - "**/test-results/**" +Smoke_Test_Win_DX11_editmode_2019.4: + name: Smoke_Test on Win_DX11_editmode on version 2019.4 + agent: + type: Unity::VM + image: sdet/gamecode_win10:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:2019.4:windows + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat + - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade + - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only + - cd TestProjects/SRP_SmokeTest && utr --suite=editor --platform=editmode --testproject=. --editor-location=.Editor --artifacts_path=test-results --extra-editor-arg="-force-d3d11" + artifacts: + logs: + paths: + - "**/test-results/**" +Smoke_Test_Win_DX11_Standalone_2019.4: + name: Smoke_Test on Win_DX11_Standalone on version 2019.4 + agent: + type: Unity::VM::GPU + image: sdet/gamecode_win10:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:2019.4:windows + rerun: on-new-revision + - path: .yamato/smoke_test-win-dx11.yml#Build_Smoke_Test_Win_DX11_Player_2019.4 + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat + - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --platform=StandaloneWindows64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_Smoke_Test_Win_DX11_Player_2019.4: + name: Build Smoke_Test on Win_DX11_Player on version 2019.4 + agent: + type: Unity::VM + image: sdet/gamecode_win10:stable + flavor: b1.xlarge + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:2019.4:windows + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat + - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade + - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only + - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --platform=StandaloneWindows64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildWindowsDX11Linear" + artifacts: + logs: + paths: + - "**/test-results/**" + players: + paths: + - "players/**" +Smoke_Test_Win_DX11_playmode_fast-2019.4: + name: Smoke_Test on Win_DX11_playmode on version fast-2019.4 + agent: + type: Unity::VM::GPU + image: sdet/gamecode_win10:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:fast-2019.4:windows + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat + - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade + - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only + - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results --extra-editor-arg="-force-d3d11" + artifacts: + logs: + paths: + - "**/test-results/**" +Smoke_Test_Win_DX11_editmode_fast-2019.4: + name: Smoke_Test on Win_DX11_editmode on version fast-2019.4 + agent: + type: Unity::VM + image: sdet/gamecode_win10:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:fast-2019.4:windows + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat + - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade + - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only + - cd TestProjects/SRP_SmokeTest && utr --suite=editor --platform=editmode --testproject=. --editor-location=.Editor --artifacts_path=test-results --extra-editor-arg="-force-d3d11" + artifacts: + logs: + paths: + - "**/test-results/**" +Smoke_Test_Win_DX11_Standalone_fast-2019.4: + name: Smoke_Test on Win_DX11_Standalone on version fast-2019.4 + agent: + type: Unity::VM::GPU + image: sdet/gamecode_win10:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:fast-2019.4:windows + rerun: on-new-revision + - path: .yamato/smoke_test-win-dx11.yml#Build_Smoke_Test_Win_DX11_Player_fast-2019.4 + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat + - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --platform=StandaloneWindows64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_Smoke_Test_Win_DX11_Player_fast-2019.4: + name: Build Smoke_Test on Win_DX11_Player on version fast-2019.4 + agent: + type: Unity::VM + image: sdet/gamecode_win10:stable + flavor: b1.xlarge + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:fast-2019.4:windows + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat + - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade + - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only + - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --platform=StandaloneWindows64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildWindowsDX11Linear" + artifacts: + logs: + paths: + - "**/test-results/**" + players: + paths: + - "players/**" +Smoke_Test_Win_DX11_playmode_CUSTOM-REVISION: + name: Smoke_Test on Win_DX11_playmode on version CUSTOM-REVISION + agent: + type: Unity::VM::GPU + image: sdet/gamecode_win10:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + CUSTOM_REVISION: custom_revision_not_set + dependencies: + - path: .yamato/_editor.yml#editor:priming:CUSTOM-REVISION:windows + rerun: always + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat + - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade + - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only + - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results --extra-editor-arg="-force-d3d11" + artifacts: + logs: + paths: + - "**/test-results/**" +Smoke_Test_Win_DX11_editmode_CUSTOM-REVISION: + name: Smoke_Test on Win_DX11_editmode on version CUSTOM-REVISION + agent: + type: Unity::VM + image: sdet/gamecode_win10:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + CUSTOM_REVISION: custom_revision_not_set + dependencies: + - path: .yamato/_editor.yml#editor:priming:CUSTOM-REVISION:windows + rerun: always + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat + - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade + - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only + - cd TestProjects/SRP_SmokeTest && utr --suite=editor --platform=editmode --testproject=. --editor-location=.Editor --artifacts_path=test-results --extra-editor-arg="-force-d3d11" + artifacts: + logs: + paths: + - "**/test-results/**" +Smoke_Test_Win_DX11_Standalone_CUSTOM-REVISION: + name: Smoke_Test on Win_DX11_Standalone on version CUSTOM-REVISION + agent: + type: Unity::VM::GPU + image: sdet/gamecode_win10:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + CUSTOM_REVISION: custom_revision_not_set + dependencies: + - path: .yamato/_editor.yml#editor:priming:CUSTOM-REVISION:windows + rerun: always + - path: .yamato/smoke_test-win-dx11.yml#Build_Smoke_Test_Win_DX11_Player_CUSTOM-REVISION + rerun: always + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat + - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --platform=StandaloneWindows64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_Smoke_Test_Win_DX11_Player_CUSTOM-REVISION: + name: Build Smoke_Test on Win_DX11_Player on version CUSTOM-REVISION + agent: + type: Unity::VM + image: sdet/gamecode_win10:stable + flavor: b1.xlarge + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + CUSTOM_REVISION: custom_revision_not_set + dependencies: + - path: .yamato/_editor.yml#editor:priming:CUSTOM-REVISION:windows + rerun: always + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr.bat --output TestProjects/SRP_SmokeTest/utr.bat + - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade + - cd TestProjects/SRP_SmokeTest && unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only + - cd TestProjects/SRP_SmokeTest && utr --suite=playmode --platform=StandaloneWindows64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildWindowsDX11Linear" + artifacts: + logs: + paths: + - "**/test-results/**" + players: + paths: + - "players/**" diff --git a/.yamato/universal-linux-vulkan.yml b/.yamato/universal-linux-vulkan.yml index 7a72bd08c00..12d3a462dbe 100644 --- a/.yamato/universal-linux-vulkan.yml +++ b/.yamato/universal-linux-vulkan.yml @@ -5,6 +5,28 @@ Universal_Linux_Vulkan_Standalone_2019.4: name: Universal on Linux_Vulkan_Standalone on version 2019.4 + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:2019.4:linux + rerun: on-new-revision + - path: .yamato/universal-linux-vulkan.yml#Build_Universal_Linux_Vulkan_Player_2019.4 + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/UniversalGraphicsTest/utr + - chmod +x TestProjects/UniversalGraphicsTest/utr + - cd TestProjects/UniversalGraphicsTest && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_Universal_Linux_Vulkan_Player_2019.4: + name: Build Universal on Linux_Vulkan_Player on version 2019.4 agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -20,11 +42,14 @@ Universal_Linux_Vulkan_Standalone_2019.4: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/UniversalGraphicsTest/utr - chmod +x TestProjects/UniversalGraphicsTest/utr - cd TestProjects/UniversalGraphicsTest && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/UniversalGraphicsTest && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/UniversalGraphicsTest && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" Universal_Linux_Vulkan_playmode_2019.4: name: Universal on Linux_Vulkan_playmode on version 2019.4 agent: @@ -71,6 +96,28 @@ Universal_Linux_Vulkan_editmode_2019.4: - "**/test-results/**" Universal_Linux_Vulkan_Standalone_fast-2019.4: name: Universal on Linux_Vulkan_Standalone on version fast-2019.4 + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:fast-2019.4:linux + rerun: on-new-revision + - path: .yamato/universal-linux-vulkan.yml#Build_Universal_Linux_Vulkan_Player_fast-2019.4 + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/UniversalGraphicsTest/utr + - chmod +x TestProjects/UniversalGraphicsTest/utr + - cd TestProjects/UniversalGraphicsTest && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_Universal_Linux_Vulkan_Player_fast-2019.4: + name: Build Universal on Linux_Vulkan_Player on version fast-2019.4 agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -86,11 +133,14 @@ Universal_Linux_Vulkan_Standalone_fast-2019.4: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/UniversalGraphicsTest/utr - chmod +x TestProjects/UniversalGraphicsTest/utr - cd TestProjects/UniversalGraphicsTest && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/UniversalGraphicsTest && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/UniversalGraphicsTest && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" Universal_Linux_Vulkan_playmode_fast-2019.4: name: Universal on Linux_Vulkan_playmode on version fast-2019.4 agent: @@ -137,6 +187,29 @@ Universal_Linux_Vulkan_editmode_fast-2019.4: - "**/test-results/**" Universal_Linux_Vulkan_Standalone_CUSTOM-REVISION: name: Universal on Linux_Vulkan_Standalone on version CUSTOM-REVISION + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + CUSTOM_REVISION: custom_revision_not_set + dependencies: + - path: .yamato/_editor.yml#editor:priming:CUSTOM-REVISION:linux + rerun: always + - path: .yamato/universal-linux-vulkan.yml#Build_Universal_Linux_Vulkan_Player_CUSTOM-REVISION + rerun: always + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/UniversalGraphicsTest/utr + - chmod +x TestProjects/UniversalGraphicsTest/utr + - cd TestProjects/UniversalGraphicsTest && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_Universal_Linux_Vulkan_Player_CUSTOM-REVISION: + name: Build Universal on Linux_Vulkan_Player on version CUSTOM-REVISION agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -153,11 +226,14 @@ Universal_Linux_Vulkan_Standalone_CUSTOM-REVISION: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/UniversalGraphicsTest/utr - chmod +x TestProjects/UniversalGraphicsTest/utr - cd TestProjects/UniversalGraphicsTest && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/UniversalGraphicsTest && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/UniversalGraphicsTest && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" Universal_Linux_Vulkan_playmode_CUSTOM-REVISION: name: Universal on Linux_Vulkan_playmode on version CUSTOM-REVISION agent: diff --git a/.yamato/vfx_hdrp-linux-vulkan.yml b/.yamato/vfx_hdrp-linux-vulkan.yml index fa80f0834cc..57c9df5810b 100644 --- a/.yamato/vfx_hdrp-linux-vulkan.yml +++ b/.yamato/vfx_hdrp-linux-vulkan.yml @@ -5,6 +5,28 @@ VFX_HDRP_Linux_Vulkan_Standalone_2019.4: name: VFX_HDRP on Linux_Vulkan_Standalone on version 2019.4 + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:2019.4:linux + rerun: on-new-revision + - path: .yamato/vfx_hdrp-linux-vulkan.yml#Build_VFX_HDRP_Linux_Vulkan_Player_2019.4 + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/VisualEffectGraph_HDRP/utr + - chmod +x TestProjects/VisualEffectGraph_HDRP/utr + - cd TestProjects/VisualEffectGraph_HDRP && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_VFX_HDRP_Linux_Vulkan_Player_2019.4: + name: Build VFX_HDRP on Linux_Vulkan_Player on version 2019.4 agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -20,11 +42,14 @@ VFX_HDRP_Linux_Vulkan_Standalone_2019.4: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/VisualEffectGraph_HDRP/utr - chmod +x TestProjects/VisualEffectGraph_HDRP/utr - cd TestProjects/VisualEffectGraph_HDRP && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/VisualEffectGraph_HDRP && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/VisualEffectGraph_HDRP && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" VFX_HDRP_Linux_Vulkan_playmode_2019.4: name: VFX_HDRP on Linux_Vulkan_playmode on version 2019.4 agent: @@ -71,6 +96,28 @@ VFX_HDRP_Linux_Vulkan_editmode_2019.4: - "**/test-results/**" VFX_HDRP_Linux_Vulkan_Standalone_fast-2019.4: name: VFX_HDRP on Linux_Vulkan_Standalone on version fast-2019.4 + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:fast-2019.4:linux + rerun: on-new-revision + - path: .yamato/vfx_hdrp-linux-vulkan.yml#Build_VFX_HDRP_Linux_Vulkan_Player_fast-2019.4 + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/VisualEffectGraph_HDRP/utr + - chmod +x TestProjects/VisualEffectGraph_HDRP/utr + - cd TestProjects/VisualEffectGraph_HDRP && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_VFX_HDRP_Linux_Vulkan_Player_fast-2019.4: + name: Build VFX_HDRP on Linux_Vulkan_Player on version fast-2019.4 agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -86,11 +133,14 @@ VFX_HDRP_Linux_Vulkan_Standalone_fast-2019.4: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/VisualEffectGraph_HDRP/utr - chmod +x TestProjects/VisualEffectGraph_HDRP/utr - cd TestProjects/VisualEffectGraph_HDRP && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/VisualEffectGraph_HDRP && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/VisualEffectGraph_HDRP && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" VFX_HDRP_Linux_Vulkan_playmode_fast-2019.4: name: VFX_HDRP on Linux_Vulkan_playmode on version fast-2019.4 agent: @@ -137,6 +187,29 @@ VFX_HDRP_Linux_Vulkan_editmode_fast-2019.4: - "**/test-results/**" VFX_HDRP_Linux_Vulkan_Standalone_CUSTOM-REVISION: name: VFX_HDRP on Linux_Vulkan_Standalone on version CUSTOM-REVISION + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + CUSTOM_REVISION: custom_revision_not_set + dependencies: + - path: .yamato/_editor.yml#editor:priming:CUSTOM-REVISION:linux + rerun: always + - path: .yamato/vfx_hdrp-linux-vulkan.yml#Build_VFX_HDRP_Linux_Vulkan_Player_CUSTOM-REVISION + rerun: always + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/VisualEffectGraph_HDRP/utr + - chmod +x TestProjects/VisualEffectGraph_HDRP/utr + - cd TestProjects/VisualEffectGraph_HDRP && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_VFX_HDRP_Linux_Vulkan_Player_CUSTOM-REVISION: + name: Build VFX_HDRP on Linux_Vulkan_Player on version CUSTOM-REVISION agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -153,11 +226,14 @@ VFX_HDRP_Linux_Vulkan_Standalone_CUSTOM-REVISION: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/VisualEffectGraph_HDRP/utr - chmod +x TestProjects/VisualEffectGraph_HDRP/utr - cd TestProjects/VisualEffectGraph_HDRP && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/VisualEffectGraph_HDRP && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/VisualEffectGraph_HDRP && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" VFX_HDRP_Linux_Vulkan_playmode_CUSTOM-REVISION: name: VFX_HDRP on Linux_Vulkan_playmode on version CUSTOM-REVISION agent: diff --git a/.yamato/vfx_urp-linux-vulkan.yml b/.yamato/vfx_urp-linux-vulkan.yml index 9bcae5e033d..35368ed5ec8 100644 --- a/.yamato/vfx_urp-linux-vulkan.yml +++ b/.yamato/vfx_urp-linux-vulkan.yml @@ -5,6 +5,28 @@ VFX_URP_Linux_Vulkan_Standalone_2019.4: name: VFX_URP on Linux_Vulkan_Standalone on version 2019.4 + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:2019.4:linux + rerun: on-new-revision + - path: .yamato/vfx_urp-linux-vulkan.yml#Build_VFX_URP_Linux_Vulkan_Player_2019.4 + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/VisualEffectGraph_URP/utr + - chmod +x TestProjects/VisualEffectGraph_URP/utr + - cd TestProjects/VisualEffectGraph_URP && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_VFX_URP_Linux_Vulkan_Player_2019.4: + name: Build VFX_URP on Linux_Vulkan_Player on version 2019.4 agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -20,11 +42,14 @@ VFX_URP_Linux_Vulkan_Standalone_2019.4: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/VisualEffectGraph_URP/utr - chmod +x TestProjects/VisualEffectGraph_URP/utr - cd TestProjects/VisualEffectGraph_URP && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/VisualEffectGraph_URP && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/VisualEffectGraph_URP && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" VFX_URP_Linux_Vulkan_playmode_2019.4: name: VFX_URP on Linux_Vulkan_playmode on version 2019.4 agent: @@ -49,6 +74,28 @@ VFX_URP_Linux_Vulkan_playmode_2019.4: - "**/test-results/**" VFX_URP_Linux_Vulkan_Standalone_fast-2019.4: name: VFX_URP on Linux_Vulkan_Standalone on version fast-2019.4 + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + dependencies: + - path: .yamato/_editor.yml#editor:priming:fast-2019.4:linux + rerun: on-new-revision + - path: .yamato/vfx_urp-linux-vulkan.yml#Build_VFX_URP_Linux_Vulkan_Player_fast-2019.4 + rerun: on-new-revision + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/VisualEffectGraph_URP/utr + - chmod +x TestProjects/VisualEffectGraph_URP/utr + - cd TestProjects/VisualEffectGraph_URP && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_VFX_URP_Linux_Vulkan_Player_fast-2019.4: + name: Build VFX_URP on Linux_Vulkan_Player on version fast-2019.4 agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -64,11 +111,14 @@ VFX_URP_Linux_Vulkan_Standalone_fast-2019.4: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/VisualEffectGraph_URP/utr - chmod +x TestProjects/VisualEffectGraph_URP/utr - cd TestProjects/VisualEffectGraph_URP && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/VisualEffectGraph_URP && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/VisualEffectGraph_URP && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" VFX_URP_Linux_Vulkan_playmode_fast-2019.4: name: VFX_URP on Linux_Vulkan_playmode on version fast-2019.4 agent: @@ -93,6 +143,29 @@ VFX_URP_Linux_Vulkan_playmode_fast-2019.4: - "**/test-results/**" VFX_URP_Linux_Vulkan_Standalone_CUSTOM-REVISION: name: VFX_URP on Linux_Vulkan_Standalone on version CUSTOM-REVISION + agent: + type: Unity::VM::GPU + image: cds-ops/ubuntu-18.04-base:stable + flavor: b1.large + variables: + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates + CUSTOM_REVISION: custom_revision_not_set + dependencies: + - path: .yamato/_editor.yml#editor:priming:CUSTOM-REVISION:linux + rerun: always + - path: .yamato/vfx_urp-linux-vulkan.yml#Build_VFX_URP_Linux_Vulkan_Player_CUSTOM-REVISION + rerun: always + commands: + - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/VisualEffectGraph_URP/utr + - chmod +x TestProjects/VisualEffectGraph_URP/utr + - cd TestProjects/VisualEffectGraph_URP && ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --player-load-path=../../players --player-connection-ip=auto --timeout=1200 + artifacts: + logs: + paths: + - "**/test-results/**" + skip_checkout: true +Build_VFX_URP_Linux_Vulkan_Player_CUSTOM-REVISION: + name: Build VFX_URP on Linux_Vulkan_Player on version CUSTOM-REVISION agent: type: Unity::VM::GPU image: cds-ops/ubuntu-18.04-base:stable @@ -109,11 +182,14 @@ VFX_URP_Linux_Vulkan_Standalone_CUSTOM-REVISION: - curl -s https://artifactory.internal.unity3d.com/core-automation/tools/utr-standalone/utr --output TestProjects/VisualEffectGraph_URP/utr - chmod +x TestProjects/VisualEffectGraph_URP/utr - cd TestProjects/VisualEffectGraph_URP && sudo unity-downloader-cli --source-file ../../unity_revision.txt -c editor -c il2cpp --wait --published-only - - cd TestProjects/VisualEffectGraph_URP && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --artifacts_path=test-results --testproject=. --editor-location=.Editor --extra-editor-arg="-executemethod" --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" + - cd TestProjects/VisualEffectGraph_URP && DISPLAY=:0.0 ./utr --suite=playmode --platform=StandaloneLinux64 --testproject=. --editor-location=.Editor --artifacts_path=test-results --player-save-path=../../players --build-only --extra-editor-arg="-executemethod" --timeout=1200 --extra-editor-arg="CustomBuild.BuildLinuxVulkanLinear" artifacts: logs: paths: - "**/test-results/**" + players: + paths: + - "players/**" VFX_URP_Linux_Vulkan_playmode_CUSTOM-REVISION: name: VFX_URP on Linux_Vulkan_playmode on version CUSTOM-REVISION agent: