-
Notifications
You must be signed in to change notification settings - Fork 817
/
Copy pathlightmapping-osx_apple_silicon-metal.yml
161 lines (157 loc) · 10.1 KB
/
lightmapping-osx_apple_silicon-metal.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
160
161
# 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 -%}
---
Lightmapping_OSX_Apple_Silicon_Metal_editmode_mono_Linear_trunk:
name: Lightmapping on OSX_Apple_Silicon_Metal_editmode_mono_Linear on version trunk
agent:
type: Unity::metal::macmini
image: slough-ops/macos-11-base:stable
model: M1
flavor: m1.mac
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:
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
- chmod +x ./utr
- rsync -az $YAMATO_SOURCE_DIR/ bokken@$BOKKEN_DEVICE_IP:~/Graphics
- scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
- brew tap --force-auto-update unity/unity git@github.cds.internal.unity3d.com:unity/homebrew-unity.git
- brew install unity-downloader-cli
- unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
- rsync -az .Editor/ bokken@$BOKKEN_DEVICE_IP:~/Graphics/.Editor
- |5-
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; cd ~/Graphics; ./utr --artifacts_path=/Users/bokken/Graphics/TestProjects/Lightmapping/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-metal" --extra-editor-arg="-playergraphicsapi=Metal" --platform=editmode --scripting-backend=Mono2x --suite=editor --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/Lightmapping"
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/Lightmapping/test-results/ TestProjects/Lightmapping
exit $UTR_RESULT
after:
- command: pip3 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/Lightmapping/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX_Apple_Silicon
rerun: on_new_revision
Lightmapping_OSX_Apple_Silicon_Metal_Standalone_mono_Linear_trunk:
name: Lightmapping on OSX_Apple_Silicon_Metal_Standalone_mono_Linear on version trunk
agent:
type: Unity::metal::macmini
image: slough-ops/macos-11-base:stable
model: M1
flavor: m1.mac
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:
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
- chmod +x ./utr
- rsync -az $YAMATO_SOURCE_DIR/ bokken@$BOKKEN_DEVICE_IP:~/Graphics
- scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
- brew tap --force-auto-update unity/unity git@github.cds.internal.unity3d.com:unity/homebrew-unity.git
- brew install unity-downloader-cli
- unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
- rsync -az .Editor/ bokken@$BOKKEN_DEVICE_IP:~/Graphics/.Editor
- |5-
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; cd ~/Graphics; ./utr --architecture=ARM64 --artifacts_path=/Users/bokken/Graphics/TestProjects/Lightmapping/test-results --editor-location=.Editor --platform=StandaloneOSX --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/Lightmapping --timeout=1200"
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/Lightmapping/test-results/ TestProjects/Lightmapping
exit $UTR_RESULT
after:
- command: pip3 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/Lightmapping/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:trunk:OSX_Apple_Silicon
rerun: on_new_revision
Lightmapping_OSX_Apple_Silicon_Metal_editmode_mono_Linear_CUSTOM-REVISION:
name: Lightmapping on OSX_Apple_Silicon_Metal_editmode_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::metal::macmini
image: slough-ops/macos-11-base:stable
model: M1
flavor: m1.mac
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:
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
- chmod +x ./utr
- rsync -az $YAMATO_SOURCE_DIR/ bokken@$BOKKEN_DEVICE_IP:~/Graphics
- scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
- brew tap --force-auto-update unity/unity git@github.cds.internal.unity3d.com:unity/homebrew-unity.git
- brew install unity-downloader-cli
- unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
- rsync -az .Editor/ bokken@$BOKKEN_DEVICE_IP:~/Graphics/.Editor
- |5-
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; cd ~/Graphics; ./utr --artifacts_path=/Users/bokken/Graphics/TestProjects/Lightmapping/test-results --editor-location=.Editor --extra-editor-arg="-colorspace=Linear" --extra-editor-arg="-force-metal" --extra-editor-arg="-playergraphicsapi=Metal" --platform=editmode --scripting-backend=Mono2x --suite=editor --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/Lightmapping"
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/Lightmapping/test-results/ TestProjects/Lightmapping
exit $UTR_RESULT
after:
- command: pip3 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/Lightmapping/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:OSX_Apple_Silicon
rerun: on_new_revision
Lightmapping_OSX_Apple_Silicon_Metal_Standalone_mono_Linear_CUSTOM-REVISION:
name: Lightmapping on OSX_Apple_Silicon_Metal_Standalone_mono_Linear on version CUSTOM-REVISION
agent:
type: Unity::metal::macmini
image: slough-ops/macos-11-base:stable
model: M1
flavor: m1.mac
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:
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
- chmod +x ./utr
- rsync -az $YAMATO_SOURCE_DIR/ bokken@$BOKKEN_DEVICE_IP:~/Graphics
- scp -i ~/.ssh/id_rsa_macmini ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
- brew tap --force-auto-update unity/unity git@github.cds.internal.unity3d.com:unity/homebrew-unity.git
- brew install unity-downloader-cli
- unity-downloader-cli --source-file unity_revision.txt -c editor -c il2cpp --wait --published-only
- rsync -az .Editor/ bokken@$BOKKEN_DEVICE_IP:~/Graphics/.Editor
- |5-
ssh -i ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; cd ~/Graphics; ./utr --architecture=ARM64 --artifacts_path=/Users/bokken/Graphics/TestProjects/Lightmapping/test-results --editor-location=.Editor --platform=StandaloneOSX --scripting-backend=Mono2x --suite=playmode --testfilter=$TEST_FILTER --testproject=/Users/bokken/Graphics/TestProjects/Lightmapping --timeout=1200"
UTR_RESULT=$?
scp -i ~/.ssh/id_rsa_macmini -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/Graphics/TestProjects/Lightmapping/test-results/ TestProjects/Lightmapping
exit $UTR_RESULT
after:
- command: pip3 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/Lightmapping/Logs/*.log"
dependencies:
- path: .yamato/_editor_priming.yml#editor:priming:CUSTOM-REVISION:OSX_Apple_Silicon
rerun: on_new_revision