Skip to content

Commit ccbad00

Browse files
[Squash from develop] Resolve conflicts with changelog post 1.14.2 rleease
1 parent 0b14515 commit ccbad00

21 files changed

+889
-252
lines changed

.yamato/config.metadata

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ editors:
99
- version: 6000.2
1010
run_tvos: false
1111
- version: trunk
12-
run_tvos: false
12+
run_ios_15: true
13+
run_tvos: false
1314

1415
utr_install_win: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
1516
utr_install_nix: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr
@@ -57,18 +58,18 @@ platforms_nix:
5758
installscript: unity-downloader-cli -c editor -c StandaloneSupport-IL2CPP --wait --fast -u
5859
- name: linux
5960
type: Unity::VM
60-
image: package-ci/ubuntu-20.04:v4.50.0
61+
image: package-ci/ubuntu-20.04:v4
6162
flavor: b1.large
6263
instabilities_run: sh ./run_standalone_instability_detection-latest.sh ubuntu 0.5.1 || exit 0
6364
- name: linux_standalone
6465
type: Unity::VM
65-
image: package-ci/ubuntu-20.04:v4.50.0
66+
image: package-ci/ubuntu-20.04:v4
6667
flavor: b1.large
6768
instabilities_run: sh ./run_standalone_instability_detection-latest.sh ubuntu 0.5.1 || exit 0
6869
runtime: StandaloneLinux64
6970
- name: linux_standalone_il2cpp
7071
type: Unity::VM
71-
image: package-ci/ubuntu-20.04:v4.50.0
72+
image: package-ci/ubuntu-20.04:v4
7273
flavor: b1.large
7374
instabilities_run: sh ./run_standalone_instability_detection-latest.sh ubuntu 0.5.1 || exit 0
7475
runtime: StandaloneLinux64
@@ -78,7 +79,7 @@ scripting_backends:
7879
- name: mono
7980
- name: il2cpp
8081

81-
ios_and_tvos_macos_bokken_image: package-ci/macos-13:v4.50.0
82+
ios_and_tvos_macos_bokken_image: package-ci/macos-13:v4
8283

8384
test_category:
8485
- name: performance

.yamato/sonarqube.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.yamato/upm-ci.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
# really work with them. Move them into the package for when we run upm-ci here.
2323
- move /Y .\Assets\Samples .\Packages\com.unity.inputsystem
2424
- move /Y .\Assets\Samples.meta .\Packages\com.unity.inputsystem
25+
- npm install upm-ci-utils@stable -g --registry https://artifactory-upload.prd.it.unity3d.com/artifactory/api/npm/upm-npm
2526
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
2627
# Run upm-ci verification tests as well as tests contained in the package.
2728
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u %EDITOR_VERSION%
@@ -34,7 +35,7 @@
3435
- move /Y .\Packages\com.unity.inputsystem\Samples .\Assets
3536
- move /Y .\Packages\com.unity.inputsystem\Samples.meta .\Assets
3637
# Now run our full test suite that sits in Assets/Tests by running UTR on our project.
37-
- UnifiedTestRunner --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --suite=playmode {% if platform.name == "win" %} --suite=editor {% endif %} {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --api-profile=NET_4_6 {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} {% if platform.scripting-backend %} --scripting-backend {{ platform.scripting-backend }} {% endif %} {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %} {% if platform.name == "win" and category.name == "functional" %}--enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --coverage-results-path={{ yamato_source_dir_win }}/upm-ci~/test-results/CodeCoverage/Project --coverage-upload-options="reportsDir:upm-ci~/test-results/CodeCoverage/Project;name:{{platform.name}}_{{editor.version}}_project;flags:{{platform.name}}_{{editor.version}}_project" {% endif %}
38+
- UnifiedTestRunner --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --clean-library --reruncount=1 --clean-library-on-rerun --suite=playmode {% if platform.name == "win" %} --suite=editor {% endif %} {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --api-profile=NET_4_6 {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} {% if platform.scripting-backend %} --scripting-backend {{ platform.scripting-backend }} {% endif %} {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %} {% if platform.name == "win" and category.name == "functional" %}--enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --coverage-results-path={{ yamato_source_dir_win }}/upm-ci~/test-results/CodeCoverage/Project --coverage-upload-options="reportsDir:upm-ci~/test-results/CodeCoverage/Project;name:{{platform.name}}_{{editor.version}}_project;flags:{{platform.name}}_{{editor.version}}_project" {% endif %}
3839
{% if platform.name == "win" and category.name == "functional" %}
3940
# Delete the Package and Project reports & raw coverage data, to keep Artifacts.zip smaller
4041
- rmdir /s/q "{{ yamato_source_dir_win }}/upm-ci~/test-results/CodeCoverage/Package"
@@ -74,6 +75,7 @@
7475
# really work with them. Move them into the package for when we run upm-ci here.
7576
- mv ./Assets/Samples ./Packages/com.unity.inputsystem
7677
- mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem
78+
- npm install upm-ci-utils@stable -g --registry https://artifactory-upload.prd.it.unity3d.com/artifactory/api/npm/upm-npm
7779
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
7880
# Run upm-ci verification tests as well as tests contained in the package.
7981
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u $EDITOR_VERSION {% if category.name == "functional" and platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem;pathReplacePatterns:@*,,Library/PackageCache,Packages" --extra-utr-arg="--coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Package --coverage-upload-options=\"reportsDir:upm-ci~/test-results/CodeCoverage/Package;name:{{platform.name}}_{{editor.version}}_pkg;flags:{{platform.name}}_{{editor.version}}_pkg\"" {% endif %}
@@ -85,7 +87,7 @@
8587
- mv ./Packages/com.unity.inputsystem/Samples ./Assets
8688
- mv ./Packages/com.unity.inputsystem/Samples.meta ./Assets
8789
# Now run our full test suite that sits in Assets/Tests by running UTR on our project.
88-
- UnifiedTestRunner --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --suite=playmode {% if platform.name == "mac" or platform.name == "linux"%} --suite=editor {% endif %} {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --api-profile=NET_4_6 {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} {% if platform.scripting-backend %} --scripting-backend {{ platform.scripting-backend }} {% endif %} {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %} {% if category.name == "functional" and platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Project --coverage-upload-options="reportsDir:upm-ci~/test-results/CodeCoverage/Project;name:{{platform.name}}_{{editor.version}}_project;flags:{{platform.name}}_{{editor.version}}_project" {% endif %}
90+
- UnifiedTestRunner --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --clean-library --reruncount=1 --clean-library-on-rerun --suite=playmode {% if platform.name == "mac" or platform.name == "linux"%} --suite=editor {% endif %} {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --api-profile=NET_4_6 {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} {% if platform.scripting-backend %} --scripting-backend {{ platform.scripting-backend }} {% endif %} {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %} {% if category.name == "functional" and platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --coverage-options="generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Project --coverage-upload-options="reportsDir:upm-ci~/test-results/CodeCoverage/Project;name:{{platform.name}}_{{editor.version}}_project;flags:{{platform.name}}_{{editor.version}}_project" {% endif %}
8991
{% if category.name == "functional" and platform.name == "mac" or platform.name == "linux"%}
9092
# Delete the Package and Project reports & raw coverage data, to keep Artifacts.zip smaller
9193
- rm -rf {{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Package
@@ -118,9 +120,12 @@ build_ios_{{ editor.version }}_{{ category.name }}:
118120
variables:
119121
EDITOR_VERSION: {{ editor.version }}
120122
UTR_VERSION: 1.35.1
123+
{% if editor.run_ios_15 %}
124+
UNITY_HANDLEUIINTERRUPTIONS: 1
125+
{% endif %}
121126
commands:
122127
- unity-downloader-cli -c Editor -c iOS -u $EDITOR_VERSION --fast --wait
123-
- UnifiedTestRunner --suite=playmode {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=iOS --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --build-only {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %}
128+
- UnifiedTestRunner --suite=playmode --clean-library --reruncount=1 --clean-library-on-rerun {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=iOS --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --build-only {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %}
124129
after:
125130
- {{ instabilities_install_nix }}
126131
- {{ instabilities_run_mac }}
@@ -137,7 +142,11 @@ run_ios_{{ editor.version }}_{{ category.name }}:
137142
agent:
138143
type: Unity::mobile::iPhone
139144
image: {{ ios_and_tvos_macos_bokken_image }}
145+
{% if editor.run_ios_15 %}
146+
model: SE-Gen3
147+
{% else %}
140148
model: SE
149+
{% endif %}
141150
flavor: b1.medium
142151
variables:
143152
EDITOR_VERSION: {{ editor.version }}
@@ -147,7 +156,7 @@ run_ios_{{ editor.version }}_{{ category.name }}:
147156
dependencies:
148157
- .yamato/upm-ci.yml#build_ios_{{ editor.version }}_{{ category.name }}
149158
commands:
150-
- UnifiedTestRunner --suite=playmode {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=iOS --player-load-path=build/players --artifacts_path=build/test-results {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %}
159+
- UnifiedTestRunner --suite=playmode --clean-library --reruncount=1 --clean-library-on-rerun {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=iOS --player-load-path=build/players --artifacts_path=build/test-results {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %}
151160
after:
152161
- {{ instabilities_install_nix }}
153162
- {{ instabilities_run_mac }}
@@ -167,7 +176,7 @@ build_tvos_{{ editor.version }}_{{ category.name }}:
167176
UTR_VERSION: 1.35.1
168177
commands:
169178
- unity-downloader-cli -c Editor -c AppleTV -u $EDITOR_VERSION --fast --wait
170-
- UnifiedTestRunner --suite=playmode {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=tvOS --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --build-only {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %}
179+
- UnifiedTestRunner --suite=playmode --clean-library --reruncount=1 --clean-library-on-rerun {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=tvOS --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --build-only {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %}
171180
after:
172181
- {{ instabilities_install_nix }}
173182
- {{ instabilities_run_mac }}
@@ -193,7 +202,7 @@ run_tvos_{{ editor.version }}_{{ category.name }}:
193202
dependencies:
194203
- .yamato/upm-ci.yml#build_tvos_{{ editor.version }}_{{ category.name }}
195204
commands:
196-
- UnifiedTestRunner --suite=playmode {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=tvOS --player-load-path=build/players --artifacts_path=build/test-results {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %}
205+
- UnifiedTestRunner --suite=playmode --clean-library --reruncount=1 --clean-library-on-rerun {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=tvOS --player-load-path=build/players --artifacts_path=build/test-results {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %}
197206
after:
198207
- {{ instabilities_install_nix }}
199208
- {{ instabilities_run_mac }}
@@ -215,7 +224,7 @@ build_android_{{ editor.version }}_{{ backend.name }}_{{ category.name }}:
215224
EDITOR_VERSION: {{ editor.version }}
216225
commands:
217226
- unity-downloader-cli -c Editor -c Android -u %EDITOR_VERSION% --fast --wait
218-
- UnifiedTestRunner --suite=playmode {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=Android --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --scripting-backend={{ backend.name }} --build-only --repository {% if category.name == "performance" %} --performance-project-id=InputSystem {% endif %}
227+
- UnifiedTestRunner --suite=playmode --clean-library --reruncount=1 --clean-library-on-rerun {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=Android --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --scripting-backend={{ backend.name }} --build-only --repository {% if category.name == "performance" %} --performance-project-id=InputSystem {% endif %}
219228
after:
220229
- {{ instabilities_install_win }}
221230
- {{ instabilities_run_win }}
@@ -248,7 +257,7 @@ run_android_{{ editor.version }}_{{ backend.name }}_{{ category.name }}:
248257
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
249258
# List the connected devices
250259
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
251-
UnifiedTestRunner --suite=playmode {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=android --player-load-path=build/players --artifacts_path=build/test-results {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %}
260+
UnifiedTestRunner --suite=playmode --clean-library --reruncount=1 --clean-library-on-rerun {% if category.name == "performance" %} --category=Performance {% else %} --category=!Performance {% endif %} --platform=android --player-load-path=build/players --artifacts_path=build/test-results {% if category.name == "performance" %} --report-performance-data --performance-project-id=InputSystem {% endif %}
252261
after:
253262
- start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
254263
- if not exist build\test-results mkdir build\test-results

.yamato/wrench/api-validation-jobs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ api_validation_-_inputsystem_-_2021_3_-_windows:
1313
type: Unity::VM
1414
flavor: b1.large
1515
commands:
16-
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-59_594aea2e5eb3a7468ad88458b5c5da2e5e72af0d2267db7b025602fb69e57bd7.zip -o wrench-localapv.zip
16+
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-68_53c92d3b34ce3f4b652c9785dd1530bdc5885f6523465d6969c3be91f9ccaaf1.zip -o wrench-localapv.zip
1717
- command: 7z x -aoa wrench-localapv.zip
1818
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
1919
- command: python PythonScripts/print_machine_info.py
2020
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
2121
timeout: 20
2222
retries: 10
23-
- command: unity-downloader-cli -u 2021.3 -c Editor --fast
23+
- command: unity-downloader-cli -u 2021.3/staging -c editor --path .Editor --fast
2424
timeout: 10
2525
retries: 3
2626
- command: python PythonScripts/PackageJsonCondersor.py
@@ -51,8 +51,8 @@ api_validation_-_inputsystem_-_2021_3_-_windows:
5151
dependencies:
5252
- path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_inputsystem
5353
variables:
54-
UPMPVP_CONTEXT_WRENCH: 0.10.43.0
54+
UPMPVP_CONTEXT_WRENCH: 0.12.2.0
5555
metadata:
5656
Job Maintainers: '#rm-packageworks'
57-
Wrench: 0.10.43.0
57+
Wrench: 0.12.2.0
5858

0 commit comments

Comments
 (0)