Skip to content

Commit 90ece43

Browse files
committed
Reduce duplication in mobile recipes
1 parent a1c4450 commit 90ece43

6 files changed

+181
-206
lines changed

.yamato/input-system-mobile-functional-build-jobs.yml

Lines changed: 24 additions & 24 deletions
Large diffs are not rendered by default.

.yamato/input-system-mobile-functional-tests.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ inputsystem-mobilefunctionaltests_-_2021_3_-_android_-_il2cpp:
1212
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
1313
- command: |-
1414
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
15-
UnifiedTestRunner.exe --suite=playmode --platform=android --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
15+
UnifiedTestRunner.exe --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=android
1616
after:
1717
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
1818
- command: if not exist build\test-results mkdir build\test-results
@@ -37,7 +37,7 @@ inputsystem-mobilefunctionaltests_-_2021_3_-_android_-_mono:
3737
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
3838
- command: |-
3939
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
40-
UnifiedTestRunner.exe --suite=playmode --platform=android --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
40+
UnifiedTestRunner.exe --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=android
4141
after:
4242
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
4343
- command: if not exist build\test-results mkdir build\test-results
@@ -59,7 +59,7 @@ inputsystem-mobilefunctionaltests_-_2021_3_-_ios:
5959
flavor: m1.mac
6060
model: SE
6161
commands:
62-
- command: UnifiedTestRunner --suite=playmode --platform=ios --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
62+
- command: UnifiedTestRunner --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=ios
6363
after:
6464
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
6565
artifacts:
@@ -77,7 +77,7 @@ inputsystem-mobilefunctionaltests_-_2021_3_-_tvos:
7777
type: Unity::mobile::appletv
7878
flavor: m1.mac
7979
commands:
80-
- command: UnifiedTestRunner --suite=playmode --platform=tvOS --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
80+
- command: UnifiedTestRunner --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=tvOS
8181
after:
8282
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
8383
artifacts:
@@ -99,7 +99,7 @@ inputsystem-mobilefunctionaltests_-_2022_3_-_android_-_il2cpp:
9999
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
100100
- command: |-
101101
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
102-
UnifiedTestRunner.exe --suite=playmode --platform=android --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
102+
UnifiedTestRunner.exe --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=android
103103
after:
104104
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
105105
- command: if not exist build\test-results mkdir build\test-results
@@ -124,7 +124,7 @@ inputsystem-mobilefunctionaltests_-_2022_3_-_android_-_mono:
124124
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
125125
- command: |-
126126
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
127-
UnifiedTestRunner.exe --suite=playmode --platform=android --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
127+
UnifiedTestRunner.exe --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=android
128128
after:
129129
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
130130
- command: if not exist build\test-results mkdir build\test-results
@@ -146,7 +146,7 @@ inputsystem-mobilefunctionaltests_-_2022_3_-_ios:
146146
flavor: m1.mac
147147
model: SE
148148
commands:
149-
- command: UnifiedTestRunner --suite=playmode --platform=ios --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
149+
- command: UnifiedTestRunner --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=ios
150150
after:
151151
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
152152
artifacts:
@@ -164,7 +164,7 @@ inputsystem-mobilefunctionaltests_-_2022_3_-_tvos:
164164
type: Unity::mobile::appletv
165165
flavor: m1.mac
166166
commands:
167-
- command: UnifiedTestRunner --suite=playmode --platform=tvOS --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
167+
- command: UnifiedTestRunner --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=tvOS
168168
after:
169169
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
170170
artifacts:
@@ -186,7 +186,7 @@ inputsystem-mobilefunctionaltests_-_6000_0_-_android_-_il2cpp:
186186
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
187187
- command: |-
188188
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
189-
UnifiedTestRunner.exe --suite=playmode --platform=android --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
189+
UnifiedTestRunner.exe --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=android
190190
after:
191191
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
192192
- command: if not exist build\test-results mkdir build\test-results
@@ -211,7 +211,7 @@ inputsystem-mobilefunctionaltests_-_6000_0_-_android_-_mono:
211211
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
212212
- command: |-
213213
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
214-
UnifiedTestRunner.exe --suite=playmode --platform=android --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
214+
UnifiedTestRunner.exe --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=android
215215
after:
216216
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
217217
- command: if not exist build\test-results mkdir build\test-results
@@ -233,7 +233,7 @@ inputsystem-mobilefunctionaltests_-_6000_0_-_ios:
233233
flavor: m1.mac
234234
model: SE
235235
commands:
236-
- command: UnifiedTestRunner --suite=playmode --platform=ios --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
236+
- command: UnifiedTestRunner --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=ios
237237
after:
238238
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
239239
artifacts:
@@ -251,7 +251,7 @@ inputsystem-mobilefunctionaltests_-_6000_0_-_tvos:
251251
type: Unity::mobile::appletv
252252
flavor: m1.mac
253253
commands:
254-
- command: UnifiedTestRunner --suite=playmode --platform=tvOS --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
254+
- command: UnifiedTestRunner --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=tvOS
255255
after:
256256
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
257257
artifacts:
@@ -273,7 +273,7 @@ inputsystem-mobilefunctionaltests_-_6000_2_-_android_-_il2cpp:
273273
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
274274
- command: |-
275275
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
276-
UnifiedTestRunner.exe --suite=playmode --platform=android --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
276+
UnifiedTestRunner.exe --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=android
277277
after:
278278
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
279279
- command: if not exist build\test-results mkdir build\test-results
@@ -298,7 +298,7 @@ inputsystem-mobilefunctionaltests_-_6000_2_-_android_-_mono:
298298
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
299299
- command: |-
300300
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
301-
UnifiedTestRunner.exe --suite=playmode --platform=android --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
301+
UnifiedTestRunner.exe --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=android
302302
after:
303303
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
304304
- command: if not exist build\test-results mkdir build\test-results
@@ -320,7 +320,7 @@ inputsystem-mobilefunctionaltests_-_6000_2_-_ios:
320320
flavor: m1.mac
321321
model: SE
322322
commands:
323-
- command: UnifiedTestRunner --suite=playmode --platform=ios --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
323+
- command: UnifiedTestRunner --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=ios
324324
after:
325325
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
326326
artifacts:
@@ -338,7 +338,7 @@ inputsystem-mobilefunctionaltests_-_6000_2_-_tvos:
338338
type: Unity::mobile::appletv
339339
flavor: m1.mac
340340
commands:
341-
- command: UnifiedTestRunner --suite=playmode --platform=tvOS --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
341+
- command: UnifiedTestRunner --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=tvOS
342342
after:
343343
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
344344
artifacts:
@@ -360,7 +360,7 @@ inputsystem-mobilefunctionaltests_-_6000_3_-_android_-_il2cpp:
360360
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
361361
- command: |-
362362
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
363-
UnifiedTestRunner.exe --suite=playmode --platform=android --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
363+
UnifiedTestRunner.exe --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=android
364364
after:
365365
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
366366
- command: if not exist build\test-results mkdir build\test-results
@@ -385,7 +385,7 @@ inputsystem-mobilefunctionaltests_-_6000_3_-_android_-_mono:
385385
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
386386
- command: |-
387387
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
388-
UnifiedTestRunner.exe --suite=playmode --platform=android --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
388+
UnifiedTestRunner.exe --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=android
389389
after:
390390
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
391391
- command: if not exist build\test-results mkdir build\test-results
@@ -407,7 +407,7 @@ inputsystem-mobilefunctionaltests_-_6000_3_-_ios:
407407
flavor: m1.mac
408408
model: SE-Gen3
409409
commands:
410-
- command: UnifiedTestRunner --suite=playmode --platform=ios --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
410+
- command: UnifiedTestRunner --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=ios
411411
after:
412412
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
413413
artifacts:
@@ -425,7 +425,7 @@ inputsystem-mobilefunctionaltests_-_6000_3_-_tvos:
425425
type: Unity::mobile::appletv
426426
flavor: m1.mac
427427
commands:
428-
- command: UnifiedTestRunner --suite=playmode --platform=tvOS --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
428+
- command: UnifiedTestRunner --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=tvOS
429429
after:
430430
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
431431
artifacts:
@@ -447,7 +447,7 @@ inputsystem-mobilefunctionaltests_-_6000_4_-_android_-_il2cpp:
447447
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
448448
- command: |-
449449
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
450-
UnifiedTestRunner.exe --suite=playmode --platform=android --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
450+
UnifiedTestRunner.exe --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=android
451451
after:
452452
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
453453
- command: if not exist build\test-results mkdir build\test-results
@@ -472,7 +472,7 @@ inputsystem-mobilefunctionaltests_-_6000_4_-_android_-_mono:
472472
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
473473
- command: |-
474474
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
475-
UnifiedTestRunner.exe --suite=playmode --platform=android --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
475+
UnifiedTestRunner.exe --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=android
476476
after:
477477
- command: start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
478478
- command: if not exist build\test-results mkdir build\test-results
@@ -494,7 +494,7 @@ inputsystem-mobilefunctionaltests_-_6000_4_-_ios:
494494
flavor: m1.mac
495495
model: SE-Gen3
496496
commands:
497-
- command: UnifiedTestRunner --suite=playmode --platform=ios --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
497+
- command: UnifiedTestRunner --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=ios
498498
after:
499499
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
500500
artifacts:
@@ -512,7 +512,7 @@ inputsystem-mobilefunctionaltests_-_6000_4_-_tvos:
512512
type: Unity::mobile::appletv
513513
flavor: m1.mac
514514
commands:
515-
- command: UnifiedTestRunner --suite=playmode --platform=tvOS --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results
515+
- command: UnifiedTestRunner --suite=playmode --category=!Performance --reruncount=1 --clean-library --player-load-path=build/players --artifacts-path=build/test-results --platform=tvOS
516516
after:
517517
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
518518
artifacts:

0 commit comments

Comments
 (0)