-
Notifications
You must be signed in to change notification settings - Fork 817
/
Copy pathurp_2d-android-opengles3.yml
159 lines (155 loc) · 8.49 KB
/
urp_2d-android-opengles3.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# This file is generated by ant_yaml_generation package, don't edit this file manually.
# Introduce any changes under .yamato/config/*.metafile files and rerun yaml-generation (or check #devs-automation-tooling).
{% metadata_file .yamato/_cache_config.metafile -%}
{% metadata_file .yamato/_latest_editor_versions_trunk.metafile -%}
---
URP_2D_Android_OpenGLES3_Standalone_il2cpp_Linear_trunk:
name: URP_2D on Android_OpenGLES3_Standalone_il2cpp_Linear on version trunk
agent:
type: Unity::mobile::samsung
model: s21-eu
image: mobile/android-execution-r19:stable
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: powershell %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
retries: 2
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --architecture=ARM64 --artifacts_path=TestProjects/UniversalGraphicsTest_2D/test-results --platform=Android --player-load-path=players --suite=playmode --timeout=1200
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe kill-server
retries: 2
after:
- command: pip install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/UniversalGraphicsTest_2D/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Android
rerun: on_new_revision
- path: .yamato/urp_2d-android-opengles3.yml#Build_URP_2D_Android_OpenGLES3_Standalone_il2cpp_Linear_trunk
rerun: on_new_revision
Build_URP_2D_Android_OpenGLES3_Standalone_il2cpp_Linear_trunk:
name: Build URP_2D on Android_OpenGLES3_il2cpp_Linear_Standalone_build_Player on version trunk
agent:
type: Unity::VM
image: automation-tooling/win-10:v0.0.1-971268
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: '{{trunk.changeset.id}}'
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -p WindowsEditor -c editor -c il2cpp -c android --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --architecture=ARM64 --artifacts_path=TestProjects/UniversalGraphicsTest_2D/test-results --build-only --editor-location=./WindowsEditor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="gles3" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=OpenGLES3" --platform=Android --player-save-path=players --scripting-backend=IL2CPP --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/UniversalGraphicsTest_2D --timeout=3000
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/UniversalGraphicsTest_2D/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:Android
rerun: on_new_revision
URP_2D_Android_OpenGLES3_Standalone_il2cpp_Linear_CUSTOM-REVISION:
name: URP_2D on Android_OpenGLES3_Standalone_il2cpp_Linear on version CUSTOM-REVISION
agent:
type: Unity::mobile::samsung
model: s21-eu
image: mobile/android-execution-r19:stable
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: powershell %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
retries: 2
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --architecture=ARM64 --artifacts_path=TestProjects/UniversalGraphicsTest_2D/test-results --platform=Android --player-load-path=players --suite=playmode --timeout=1200
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe kill-server
retries: 2
after:
- command: pip install requests ant_instability_detection --index-url https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade || exit 0
- command: find_instabilities || exit 0
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/UniversalGraphicsTest_2D/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Android
rerun: on_new_revision
- path: .yamato/urp_2d-android-opengles3.yml#Build_URP_2D_Android_OpenGLES3_Standalone_il2cpp_Linear_CUSTOM-REVISION
rerun: on_new_revision
Build_URP_2D_Android_OpenGLES3_Standalone_il2cpp_Linear_CUSTOM-REVISION:
name: Build URP_2D on Android_OpenGLES3_il2cpp_Linear_Standalone_build_Player on version CUSTOM-REVISION
agent:
type: Unity::VM
image: automation-tooling/win-10:v0.0.1-971268
flavor: b1.large
variables:
CACHE_ARGS: '{{cache.flags}}'
CUSTOM_REVISION: custom_revision_not_set
TEST_FILTER: .*
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
UTR_VERSION: "current"
commands:
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
retries: 2
- command: gsudo choco install unity-downloader-cli -y -s https://artifactory.prd.it.unity3d.com/artifactory/api/nuget/unity-choco-local
retries: 2
- command: unity-downloader-cli --source-file unity_revision.txt -p WindowsEditor -c editor -c il2cpp -c android --wait --published-only
retries: 2
- command: |5-
git rev-parse HEAD | git show -s --format=%%cI > revdate.tmp
set /p GIT_REVISIONDATE=<revdate.tmp
echo %GIT_REVISIONDATE%
del revdate.tmp
utr --architecture=ARM64 --artifacts_path=TestProjects/UniversalGraphicsTest_2D/test-results --build-only --editor-location=./WindowsEditor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-executemethod" --extra-editor-arg="SetupProject.ApplySettings" --extra-editor-arg="gles3" --extra-editor-arg="Linear" --extra-editor-arg="-playergraphicsapi=OpenGLES3" --platform=Android --player-save-path=players --scripting-backend=IL2CPP --suite=playmode --testfilter=%TEST_FILTER% --testproject=./TestProjects/UniversalGraphicsTest_2D --timeout=3000
artifacts:
logs:
paths:
- "**/test-results/**"
- "TestProjects/UniversalGraphicsTest_2D/Logs/*.log"
players:
paths:
- "players*/**"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:Android
rerun: on_new_revision