12345678910111213141516171819202122232425262728293031 |
- {% metadata_file .yamato/package.metafile %}
- ---
- {% for editor in editors %}
- compile_test_{{ editor.version }}:
- name: Compilation Test {{ editor.version }}
- agent:
- type: Unity::VM
- flavor: b1.large
- image: package-ci/win10:v4
- variables:
- PACKAGE_VERSION: 2.4.0-exp.11
- commands:
- # When unity-config will be part of the image, this will turn into a no-op
- - |
- where /q unity-config
- if ERRORLEVEL 1 (
- %GSUDO% choco install unity-config -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
- )
- - unity-downloader-cli -c editor -u {{ editor.version }} --wait
- - .Editor\Unity.exe -createProject CompilationTestProject -logFile logs\CreateProject.log -batchmode -quit
- - |
- unity-config project set registry --project-path CompilationTestProject candidates
- unity-config project add dependency --project-path CompilationTestProject com.unity.webrtc@%PACKAGE_VERSION%
- - .Editor\Unity.exe -projectPath CompilationTestProject -logFile logs\CompilePackage.log -batchmode -quit
- artifacts:
- logs:
- paths:
- - logs/*
- {% endfor %}
|