23 строки
885 B
YAML
23 строки
885 B
YAML
{% metadata_file .yamato/project.metafile %}
|
|
---
|
|
|
|
{% for project in projects -%}
|
|
{% for editor in project.test_editors -%}
|
|
|
|
standards_{{ project.name }}:
|
|
name: Standards Check {{ project.name }} - {{ editor }}
|
|
agent:
|
|
type: Unity::VM
|
|
image: desktop/logging-testing-linux:v0.1.2-926285
|
|
flavor: b1.large
|
|
commands:
|
|
- dotnet --version
|
|
- dotnet format --version
|
|
- pip install unity-downloader-cli --upgrade --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
|
|
- unity-downloader-cli -u {{ test_editors.first }} -c editor --wait --fast
|
|
- .Editor/Unity -batchmode -nographics -logFile - -executeMethod Packages.Rider.Editor.RiderScriptEditor.SyncSolution -projectPath {{ project.path }} -quit
|
|
- dotnet run --project dotnet-tools/netcode.standards -- --project={{ project.path }} --check
|
|
|
|
{% endfor -%}
|
|
{% endfor -%}
|