Skip to content

Commit 901b3b1

Browse files
committed
Adding test CleanImport job
1 parent 481c159 commit 901b3b1

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.yamato/_triggers.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ develop_nightly:
6666
# Build player for webgl platform on trunk and 2021 editors
6767
- .yamato/project-updated-dependencies-test.yml#updated-dependencies_testproject_NGO_ubuntu_trunk
6868
- .yamato/project-updated-dependencies-test.yml#updated-dependencies_testproject_NGO_win_2021.3
69+
# Clean import test
70+
- .yamato/clean-import-job.yml#clean_import_testproject_trunk
71+
- .yamato/clean-import-job.yml#clean_import_testproject_2021.3
6972

7073

7174
# Run all tests on weekly bases

.yamato/clean-import-job.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{% metadata_file .yamato/project.metafile %}
2+
---
3+
4+
{% for platform in test_platforms.default -%}
5+
{% for project in projects.default -%}
6+
{% for editor in validation_editors.all -%}
7+
clean_import_{{ project.name }}_{{ editor }}:
8+
name: Clean Import - [{{ project.name }}, {{ editor }}]
9+
agent:
10+
type: {{ platform.type }}
11+
image: {{ platform.image }}
12+
flavor: {{ platform.flavor }}
13+
commands:
14+
- command: npm install -g upm-ci-utils@stable --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
15+
- command: unity-downloader-cli -u {{ editor }} -c Editor --fast --wait
16+
- command: "clean-log-checker --logfile=artifacts/NGO-CleanLog.txt --ignore \"Rebuilding Library because the asset database could not be found!\" --ignore \"Rebuilding Library because the metadata folder could not be found!\" --ignore \"Project manifest update is not allowed on this project.\" --ignore \"Native leak detection mode: EnabledWithStackTrace\" --ignore \"Native leak detection mode: Enabled\" --ignore \"Native leak detection mode: Disabled\" --ignore \"The project currently uses the compatibility mode where the Render Graph API is disabled. Support for this mode will be removed in future Unity versions. Migrate existing ScriptableRenderPasses to the new RenderGraph API. After the migration, disable the compatibility mode in Edit > Projects Settings > Graphics > Render Graph.\""
17+
after:
18+
- command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd
19+
artifacts:
20+
CrashDumps:
21+
paths:
22+
- CrashDumps/**
23+
logs:
24+
paths:
25+
- artifacts/**
26+
{% endfor -%}
27+
{% endfor -%}
28+
{% endfor -%}

0 commit comments

Comments
 (0)