|
1 | | -# |
2 | | -# |
3 | | -# |
4 | | -test_projects: |
5 | | - - name: UniversalGraphicsTest-2019.4 |
6 | | -unity_versions: |
7 | | - - name: 2019.4 |
8 | | - - name: 2020.3 |
9 | | - - name: 2021.1 |
10 | | -# - name: 2021.2 |
11 | | ---- |
12 | | -{% for test_project in test_projects %} |
13 | | -{% for unity_version in unity_versions %} |
14 | | -{{ test_project.name }}_Win_DX11_playmode_{{ unity_version.name }}: |
15 | | - name: {{ test_project.name }} on Win_DX11_playmode on version {{ unity_version.name }} |
16 | | - agent: |
17 | | - type: Unity::VM::GPU |
18 | | - image: graphics-foundation/win10-dxr:stable |
19 | | - flavor: b1.xlarge |
20 | | - model: rtx2080 |
21 | | - variables: |
22 | | - UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates |
23 | | - dependencies: |
24 | | - - path: .yamato/_editor.yml#editor:priming:{{ unity_version.name }}:windows |
25 | | - rerun: on-new-revision |
26 | | - commands: |
27 | | - - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output TestProjects/{{ test_project.name }}/utr.bat |
28 | | - - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade |
29 | | - - cd TestProjects/{{ test_project.name }} && unity-downloader-cli --source-file ../../unity_revision_{{ unity_version.name }}.txt -c editor -c il2cpp --wait --published-only |
30 | | -# - cd TestProjects/{{ test_project.name }} && utr --scripting-backend=Mono2x --suite=playmode --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results --extra-editor-arg="-force-d3d11" --zero-tests-are-ok=1 |
31 | | - - cd TestProjects/{{ test_project.name }} && utr --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results --extra-editor-arg="-force-d3d11" |
32 | | - timeout: 360000 |
33 | | - retries: 1 |
34 | | - triggers: |
35 | | - branches: |
36 | | - only: |
37 | | - - "/.*/" |
38 | | - artifacts: |
39 | | - logs: |
40 | | - paths: |
41 | | - - "**/test-results/**" |
42 | | -{% endfor %} |
43 | | -{% endfor %} |
| 1 | +# |
| 2 | +# |
| 3 | +# |
| 4 | +test_projects: |
| 5 | + - name: UniversalGraphicsTest-2019.4 |
| 6 | +unity_versions: |
| 7 | + - name: 2019.4 |
| 8 | + - name: 2020.3 |
| 9 | + - name: 2021.1 |
| 10 | +# - name: 2021.2 |
| 11 | +--- |
| 12 | +{% for test_project in test_projects %} |
| 13 | +{% for unity_version in unity_versions %} |
| 14 | +{{ test_project.name }}_Win_DX11_playmode_{{ unity_version.name }}: |
| 15 | + name: {{ test_project.name }} on Win_DX11_playmode on version {{ unity_version.name }} |
| 16 | + agent: |
| 17 | + type: Unity::VM::GPU |
| 18 | + image: graphics-foundation/win10-dxr:stable |
| 19 | + flavor: b1.large |
| 20 | + variables: |
| 21 | + UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates |
| 22 | + dependencies: |
| 23 | + - path: .yamato/_editor.yml#editor:priming:{{ unity_version.name }}:windows |
| 24 | + rerun: on-new-revision |
| 25 | + commands: |
| 26 | + - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output TestProjects/{{ test_project.name }}/utr.bat |
| 27 | + - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade |
| 28 | + - cd TestProjects/{{ test_project.name }} && unity-downloader-cli --source-file ../../unity_revision_{{ unity_version.name }}.txt -c editor -c il2cpp --wait --published-only |
| 29 | +# - cd TestProjects/{{ test_project.name }} && utr --scripting-backend=Mono2x --suite=playmode --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results --extra-editor-arg="-force-d3d11" --zero-tests-are-ok=1 |
| 30 | + - cd TestProjects/{{ test_project.name }} && utr --suite=playmode --testproject=. --editor-location=.Editor --artifacts_path=test-results --extra-editor-arg="-force-d3d11" |
| 31 | + timeout: 360000 |
| 32 | + retries: 1 |
| 33 | + triggers: |
| 34 | + branches: |
| 35 | + only: |
| 36 | + - "/.*/" |
| 37 | + artifacts: |
| 38 | + logs: |
| 39 | + paths: |
| 40 | + - "**/test-results/**" |
| 41 | +{% endfor %} |
| 42 | +{% endfor %} |
0 commit comments