From 2d7d7d3e61f64115f861f09de61686b5ada26bf4 Mon Sep 17 00:00:00 2001 From: michalChrobot Date: Mon, 31 Mar 2025 14:05:52 +0200 Subject: [PATCH 1/6] Added nolightmap paramater --- .yamato/webgl-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.yamato/webgl-build.yml b/.yamato/webgl-build.yml index 393998f407..5eaff22112 100644 --- a/.yamato/webgl-build.yml +++ b/.yamato/webgl-build.yml @@ -44,7 +44,7 @@ webgl_build_{{ project.name }}_{{ platform.name }}_{{ editor }}: # Engine is initialized in ‘nographics’ mode since we don't need any graphics for this case (--extra-editor-arg=-nographics) # In case of failure the job will be rerunned once (--reruncount=1) with clean library (--clean-library-on-rerun) # This will perform only building phase (--build-only) with a timeout of 3m (--timeout=1800) - - UnifiedTestRunner --suite=playmode --platform=WebGL --scripting-backend=il2cpp --testproject={{ project.path }} --editor-location=.Editor --artifacts_path=artifacts --player-save-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only --timeout=1800 + - UnifiedTestRunner --suite=playmode --platform=WebGL --scripting-backend=il2cpp --testproject={{ project.path }} --editor-location=.Editor --artifacts_path=artifacts --player-save-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nolightmap --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only --timeout=1800 artifacts: logs: paths: From dc176c7a4d0063c9a5c6d2c9ea3cc4413f5cd52f Mon Sep 17 00:00:00 2001 From: michalChrobot Date: Mon, 31 Mar 2025 14:27:37 +0200 Subject: [PATCH 2/6] Added -automated flag --- .yamato/webgl-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.yamato/webgl-build.yml b/.yamato/webgl-build.yml index 5eaff22112..7aca7f9ab9 100644 --- a/.yamato/webgl-build.yml +++ b/.yamato/webgl-build.yml @@ -44,7 +44,7 @@ webgl_build_{{ project.name }}_{{ platform.name }}_{{ editor }}: # Engine is initialized in ‘nographics’ mode since we don't need any graphics for this case (--extra-editor-arg=-nographics) # In case of failure the job will be rerunned once (--reruncount=1) with clean library (--clean-library-on-rerun) # This will perform only building phase (--build-only) with a timeout of 3m (--timeout=1800) - - UnifiedTestRunner --suite=playmode --platform=WebGL --scripting-backend=il2cpp --testproject={{ project.path }} --editor-location=.Editor --artifacts_path=artifacts --player-save-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nolightmap --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only --timeout=1800 + - UnifiedTestRunner --suite=playmode --platform=WebGL --scripting-backend=il2cpp --testproject={{ project.path }} --editor-location=.Editor --artifacts_path=artifacts --player-save-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nolightmap --extra-editor-arg=-nographics -extra-editor-arg=-automated --reruncount=1 --clean-library-on-rerun --build-only --timeout=1800 artifacts: logs: paths: From 6ae3fb7a8e00b36b7f046f2c7d6f525f6d3f49d1 Mon Sep 17 00:00:00 2001 From: michalChrobot Date: Mon, 31 Mar 2025 14:53:14 +0200 Subject: [PATCH 3/6] added !RequiresGPU category --- .yamato/webgl-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.yamato/webgl-build.yml b/.yamato/webgl-build.yml index 7aca7f9ab9..66cf4cbe24 100644 --- a/.yamato/webgl-build.yml +++ b/.yamato/webgl-build.yml @@ -44,7 +44,7 @@ webgl_build_{{ project.name }}_{{ platform.name }}_{{ editor }}: # Engine is initialized in ‘nographics’ mode since we don't need any graphics for this case (--extra-editor-arg=-nographics) # In case of failure the job will be rerunned once (--reruncount=1) with clean library (--clean-library-on-rerun) # This will perform only building phase (--build-only) with a timeout of 3m (--timeout=1800) - - UnifiedTestRunner --suite=playmode --platform=WebGL --scripting-backend=il2cpp --testproject={{ project.path }} --editor-location=.Editor --artifacts_path=artifacts --player-save-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nolightmap --extra-editor-arg=-nographics -extra-editor-arg=-automated --reruncount=1 --clean-library-on-rerun --build-only --timeout=1800 + - UnifiedTestRunner --suite=playmode --platform=WebGL --scripting-backend=il2cpp --testproject={{ project.path }} --editor-location=.Editor --artifacts_path=artifacts --player-save-path=build/players --extra-editor-arg=-batchmode --category=!RequiresGPU --extra-editor-arg=-nolightmap --extra-editor-arg=-nographics -extra-editor-arg=-automated --reruncount=1 --clean-library-on-rerun --build-only --timeout=1800 artifacts: logs: paths: From 12f1c0d25563259180e696e05fdfe1a53bd3db77 Mon Sep 17 00:00:00 2001 From: michalChrobot Date: Mon, 31 Mar 2025 15:14:07 +0200 Subject: [PATCH 4/6] Disabled WebGL Build job on macOS --- .yamato/webgl-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.yamato/webgl-build.yml b/.yamato/webgl-build.yml index 66cf4cbe24..76ea4d0f36 100644 --- a/.yamato/webgl-build.yml +++ b/.yamato/webgl-build.yml @@ -25,6 +25,7 @@ {% for project in projects.default -%} {% for platform in test_platforms.desktop -%} +{% if platform.name != "mac" -%} # There is an error about "Light baking could not be started because no valid OpenCL device could be found". Tracked in MTT- {% for editor in validation_editors.all -%} webgl_build_{{ project.name }}_{{ platform.name }}_{{ editor }}: name: WebGl Build - {{ project.name }} [{{ platform.name }}, {{ editor }}, il2cpp] @@ -44,12 +45,13 @@ webgl_build_{{ project.name }}_{{ platform.name }}_{{ editor }}: # Engine is initialized in ‘nographics’ mode since we don't need any graphics for this case (--extra-editor-arg=-nographics) # In case of failure the job will be rerunned once (--reruncount=1) with clean library (--clean-library-on-rerun) # This will perform only building phase (--build-only) with a timeout of 3m (--timeout=1800) - - UnifiedTestRunner --suite=playmode --platform=WebGL --scripting-backend=il2cpp --testproject={{ project.path }} --editor-location=.Editor --artifacts_path=artifacts --player-save-path=build/players --extra-editor-arg=-batchmode --category=!RequiresGPU --extra-editor-arg=-nolightmap --extra-editor-arg=-nographics -extra-editor-arg=-automated --reruncount=1 --clean-library-on-rerun --build-only --timeout=1800 + - UnifiedTestRunner --suite=playmode --platform=WebGL --scripting-backend=il2cpp --testproject={{ project.path }} --editor-location=.Editor --artifacts_path=artifacts --player-save-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only --timeout=1800 artifacts: logs: paths: - "artifacts/**/*" - "build/players/**/*" {% endfor -%} +{% endif -%} {% endfor -%} {% endfor -%} From 494f50ff4e65f7c6a37d51c79ef2a7a901b80794 Mon Sep 17 00:00:00 2001 From: michalChrobot Date: Mon, 31 Mar 2025 15:35:59 +0200 Subject: [PATCH 5/6] comment correction --- .yamato/webgl-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.yamato/webgl-build.yml b/.yamato/webgl-build.yml index 76ea4d0f36..7b9756a3bf 100644 --- a/.yamato/webgl-build.yml +++ b/.yamato/webgl-build.yml @@ -25,7 +25,7 @@ {% for project in projects.default -%} {% for platform in test_platforms.desktop -%} -{% if platform.name != "mac" -%} # There is an error about "Light baking could not be started because no valid OpenCL device could be found". Tracked in MTT- +{% if platform.name != "mac" -%} # There is an error about "Light baking could not be started because no valid OpenCL device could be found". Tracked in MTT-11726 {% for editor in validation_editors.all -%} webgl_build_{{ project.name }}_{{ platform.name }}_{{ editor }}: name: WebGl Build - {{ project.name }} [{{ platform.name }}, {{ editor }}, il2cpp] From b6343663b4abf7b230d09cb5954c2f89e07d90da Mon Sep 17 00:00:00 2001 From: michalChrobot Date: Mon, 31 Mar 2025 15:42:44 +0200 Subject: [PATCH 6/6] Corrected runAll file to account for the change --- .yamato/_run-all.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.yamato/_run-all.yml b/.yamato/_run-all.yml index 985e1d2f30..ec26e6eb90 100644 --- a/.yamato/_run-all.yml +++ b/.yamato/_run-all.yml @@ -81,9 +81,11 @@ run_all_webgl_builds: dependencies: {% for project in projects.default -%} {% for platform in test_platforms.desktop -%} +{% if platform.name != "mac" -%} # There is an error about "Light baking could not be started because no valid OpenCL device could be found". Tracked in MTT-11726 {% for editor in validation_editors.all -%} - .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_{{ editor }} {% endfor -%} +{% endif -%} {% endfor -%} {% endfor -%} @@ -94,9 +96,11 @@ run_all_webgl_builds_trunk: dependencies: {% for project in projects.default -%} {% for platform in test_platforms.desktop -%} +{% if platform.name != "mac" -%} # There is an error about "Light baking could not be started because no valid OpenCL device could be found". Tracked in MTT-11726 {% for editor in validation_editors.default -%} - .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_{{ editor }} {% endfor -%} +{% endif -%} {% endfor -%} {% endfor -%}