Skip to content

Commit 4d8a528

Browse files
authored
Merge branch 'develop' into isxb-1306-findaction-bug
2 parents 9c0f241 + 3f65a3c commit 4d8a528

File tree

350 files changed

+30817
-3316
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

350 files changed

+30817
-3316
lines changed

.github/pull_request_template.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
### Description
22

3-
_Please fill this section with a description what the pull request is trying to address._
3+
_Please fill this section with a description what the pull request is trying to address and what changes were made._
44

5-
### Changes made
65

7-
_Please write down a short description of what changes were made._
8-
9-
### Testing
6+
### Testing status & QA
107

118
_Please describe the testing already done by you and what testing you request/recommend QA to execute. If you used or created any testing project please link them here too for QA._
129

13-
### Risk
10+
### Overall Product Risks
11+
12+
_Please rate the potential complexity and halo effect from low to high for the reviewers. Note down potential risks to specific Editor branches if any._
13+
14+
- Complexity:
15+
- Halo Effect:
16+
17+
### Comments to reviewers
1418

15-
_Please describe the potential risks of your changes for the reviewers._
19+
_Please describe any additional information such as what to focus on, or historical info for the reviewers._
1620

1721
### Checklist
1822

@@ -21,7 +25,7 @@ Before review:
2125
- [ ] Changelog entry added.
2226
- Explains the change in `Changed`, `Fixed`, `Added` sections.
2327
- For API change contains an example snippet and/or migration example.
24-
- JIRA ticket linked, example ([case %<ID>%](https://issuetracker.unity3d.com/product/unity/issues/guid/<ID>)). If it is a private issue, just add the case ID without a link.
28+
- JIRA ticket linked, example ([case %<ID>%](https://issuetracker.unity3d.com/product/unity/issues/guid/<ID>)). If it is a private issue, just add the case ID without a link.
2529
- Jira port for the next release set as "Resolved".
2630
- [ ] Tests added/changed, if applicable.
2731
- Functional tests `Area_CanDoX`, `Area_CanDoX_EvenIfYIsTheCase`, `Area_WhenIDoX_AndYHappens_ThisIsTheResult`.
@@ -44,4 +48,4 @@ During merge:
4448

4549
After merge:
4650

47-
- [ ] Create forward/backward port if needed. If you are blocked from creating a forward port now please add a task to ISX-1444.
51+
- [ ] Create forward/backward port if needed. If you are blocked from creating a forward port now please add a task to ISX-1444.

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ Packages/com.unity.inputsystem/**/*.api.meta
4343
Packages/com.unity.package-manager-ui/
4444
Packages/com.unity.package-manager-doctools/
4545

46+
Tools/CI/[Bb]in
47+
Tools/CI/[Oo]bj
48+
4649
.Editor
4750
.bin
4851
.download
52+
53+
!Tools/CI/InputSystem.Cookbook.csproj
54+
!Tools/CI/InputSystem-recipes.sln

.yamato/PVPexemptions.json

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

.yamato/analyze.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ code_analyser:
1414
- unzip Tools/CodeAnalyzerTestProject/Microsoft.CodeQuality.Analyzers/Microsoft.CodeQuality.Analyzers.zip -d Tools/CodeAnalyzerTestProject/Microsoft.CodeQuality.Analyzers
1515
- {{ upm_ci_install }}
1616
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
17-
- upm-ci project test --project-path Tools/CodeAnalyzerTestProject -u 2019.4
17+
- upm-ci project test --project-path Tools/CodeAnalyzerTestProject -u 2021.3
1818
triggers:
1919
cancel_old_ci: true
2020
pull_requests:

.yamato/config.metadata

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
editors:
22
- version: 2021.3
33
- version: 2022.3
4+
run_tvos: false
45
- version: 6000.0
6+
run_tvos: false
7+
- version: 6000.1
8+
run_tvos: false
59
- version: trunk
6-
disable_tvos_run: true
10+
run_tvos: false
711

812
utr_install_win: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
913
utr_install_nix: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr
@@ -15,55 +19,74 @@ upm_ci_install: npm install -g upm-ci-utils@stable --registry https://artifactor
1519
platforms_win:
1620
- name: win
1721
type: Unity::VM
18-
image: package-ci/win10:default
22+
image: package-ci/win10:v4
1923
flavor: b1.large
2024
- name: win_standalone
2125
type: Unity::VM
22-
image: package-ci/win10:default
26+
image: package-ci/win10:v4
2327
flavor: b1.large
2428
runtime: StandaloneWindows64
2529
- name: win_standalone_il2cpp
2630
type: Unity::VM
27-
image: package-ci/win10:default
31+
image: package-ci/win10:v4
2832
flavor: b1.large
2933
runtime: StandaloneWindows64
3034
scripting-backend: Il2Cpp
3135
installscript: unity-downloader-cli -c editor -c StandaloneSupport-IL2CPP --wait --fast -u
3236
platforms_nix:
3337
- name: mac
3438
type: Unity::VM::osx
35-
image: package-ci/macos-13:default
39+
image: package-ci/macos-13:v4
3640
flavor: m1.mac
41+
instabilities_run: sh ./run_standalone_instability_detection-latest.sh macos 0.5.1 || exit 0
3742
- name: mac_standalone
3843
type: Unity::VM::osx
39-
image: package-ci/macos-13:default
44+
image: package-ci/macos-13:v4
4045
flavor: m1.mac
46+
instabilities_run: sh ./run_standalone_instability_detection-latest.sh macos 0.5.1 || exit 0
4147
runtime: StandaloneOSX
4248
- name: mac_standalone_il2cpp
4349
type: Unity::VM::osx
44-
image: package-ci/macos-13:default
50+
image: package-ci/macos-13:v4
4551
flavor: m1.mac
52+
instabilities_run: sh ./run_standalone_instability_detection-latest.sh macos 0.5.1 || exit 0
4653
runtime: StandaloneOSX
4754
scripting-backend: Il2Cpp
4855
installscript: unity-downloader-cli -c editor -c StandaloneSupport-IL2CPP --wait --fast -u
4956
- name: linux
5057
type: Unity::VM
5158
image: package-ci/ubuntu-20.04:v4.50.0
5259
flavor: b1.large
60+
instabilities_run: sh ./run_standalone_instability_detection-latest.sh ubuntu 0.5.1 || exit 0
5361
- name: linux_standalone
5462
type: Unity::VM
5563
image: package-ci/ubuntu-20.04:v4.50.0
5664
flavor: b1.large
65+
instabilities_run: sh ./run_standalone_instability_detection-latest.sh ubuntu 0.5.1 || exit 0
5766
runtime: StandaloneLinux64
5867
- name: linux_standalone_il2cpp
5968
type: Unity::VM
6069
image: package-ci/ubuntu-20.04:v4.50.0
6170
flavor: b1.large
71+
instabilities_run: sh ./run_standalone_instability_detection-latest.sh ubuntu 0.5.1 || exit 0
6272
runtime: StandaloneLinux64
6373
scripting-backend: Il2Cpp
6474
installscript: unity-downloader-cli -c editor -c StandaloneSupport-IL2CPP --wait --fast -u
6575
scripting_backends:
6676
- name: mono
6777
- name: il2cpp
6878

69-
ios_and_tvos_macos_bokken_image: package-ci/macos-13:v4.50.0
79+
ios_and_tvos_macos_bokken_image: package-ci/macos-13:v4.50.0
80+
81+
test_category:
82+
- name: performance
83+
- name: functional
84+
85+
instabilities_install_win: curl -s https://artifactory.prd.it.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/setup/run_standalone_instability_detection-latest.bat --output run_standalone_instability_detection-latest.bat --retry 5 || exit 0
86+
instabilities_run_win: run_standalone_instability_detection-latest.bat 0.5.1 || exit 0
87+
88+
instabilities_install_nix: curl -s https://artifactory.prd.it.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/setup/run_standalone_instability_detection-latest.sh --output run_standalone_instability_detection-latest.sh --retry 5 || exit 0
89+
instabilities_run_mac: sh ./run_standalone_instability_detection-latest.sh macos 0.5.1 || exit 0
90+
91+
yamato_source_dir_win: "%YAMATO_SOURCE_DIR%"
92+
yamato_source_dir_nix: ${YAMATO_SOURCE_DIR}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/bin/bash
2+
# This is an auto-generated script. Do not edit manually!
3+
set -x
4+
5+
set -e
6+
if [ -f "infrastructure_instability_detection_standalone.zip" ]; then
7+
echo "removed existing archive infrastructure_instability_detection_standalone.zip"
8+
rm "infrastructure_instability_detection_standalone.zip" || true
9+
fi
10+
11+
if [ -d "infrastructure_instability_detection_standalone" ]; then
12+
echo "removed existing directory infrastructure_instability_detection_standalone/"
13+
rm -rf "infrastructure_instability_detection_standalone" || true
14+
fi
15+
16+
echo "downloading and extracting [email protected]"
17+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.0.0/ubuntu.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5 || true
18+
19+
if [ -d "infrastructure_instability_detection" ]; then
20+
echo "removing infrastructure_instability_detection folder to avoid name clash"
21+
rm -rf infrastructure_instability_detection/ || true
22+
fi
23+
24+
unzip -qo "infrastructure_instability_detection_standalone.zip" && rm "infrastructure_instability_detection_standalone.zip" || true
25+
26+
echo "downloading and extracting patterns"
27+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/patterns.zip" --output patterns.zip --retry 5 || true
28+
29+
if [ -d "patterns" ]; then
30+
echo "removing patterns folder to avoid name clash"
31+
rm -rf patterns/ || true
32+
fi
33+
34+
unzip -q patterns.zip && rm patterns.zip || true
35+
36+
echo "running '$(pwd)/infrastructure_instability_detection'"
37+
./infrastructure_instability_detection || true
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/bin/bash
2+
# This is an auto-generated script. Do not edit manually!
3+
set -x
4+
5+
set -e
6+
if [ -f "infrastructure_instability_detection_standalone.zip" ]; then
7+
echo "removed existing archive infrastructure_instability_detection_standalone.zip"
8+
rm "infrastructure_instability_detection_standalone.zip" || true
9+
fi
10+
11+
if [ -d "infrastructure_instability_detection_standalone" ]; then
12+
echo "removed existing directory infrastructure_instability_detection_standalone/"
13+
rm -rf "infrastructure_instability_detection_standalone" || true
14+
fi
15+
16+
echo "downloading and extracting [email protected]"
17+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.0.0/macos.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5 || true
18+
19+
if [ -d "infrastructure_instability_detection" ]; then
20+
echo "removing infrastructure_instability_detection folder to avoid name clash"
21+
rm -rf infrastructure_instability_detection/ || true
22+
fi
23+
24+
unzip -qo "infrastructure_instability_detection_standalone.zip" && rm "infrastructure_instability_detection_standalone.zip" || true
25+
26+
echo "downloading and extracting patterns"
27+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/patterns.zip" --output patterns.zip --retry 5 || true
28+
29+
if [ -d "patterns" ]; then
30+
echo "removing patterns folder to avoid name clash"
31+
rm -rf patterns/ || true
32+
fi
33+
34+
unzip -q patterns.zip && rm patterns.zip || true
35+
36+
echo "running '$(pwd)/infrastructure_instability_detection'"
37+
./infrastructure_instability_detection || true
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@echo on
2+
rem This is an auto-generated script. Do not edit manually!
3+
4+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/standalone/1.0.0/windows.zip" --output "infrastructure_instability_detection_standalone.zip" --retry 5
5+
IF EXIST "infrastructure_instability_detection" rmdir /s /q infrastructure_instability_detection
6+
powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('infrastructure_instability_detection_standalone.zip', '.'); }" && DEL "infrastructure_instability_detection_standalone.zip"
7+
curl -fs "https://artifactory-slo.bf.unity3d.com/artifactory/automation-and-tooling/infrastructure-instability-detection/patterns.zip" --output patterns.zip --retry 5
8+
IF EXIST "patterns" rmdir /s /q patterns
9+
powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('patterns.zip', '.'); }" && DEL "patterns.zip"
10+
infrastructure_instability_detection
11+
exit /b 0

.yamato/promotion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ promote:
88
image: package-ci/win10:default
99
flavor: b1.large
1010
dependencies:
11-
- .yamato/publish-samples.yml
11+
- .yamato/publish-samples.yml#test_sample_projects
1212
variables:
1313
UPMCI_PROMOTION: 1
1414
commands:

.yamato/publish-samples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test_sample_projects:
1010
commands:
1111
- {{ upm_ci_install }}
1212
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
13-
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u 2019.4
13+
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u 2021.3
1414
- Editor=.Editor/Unity.app/Contents/MacOS/Unity Method=Publish sh ExternalSampleProjects/publish.sh
1515
artifacts:
1616
UTR_Output.zip:

0 commit comments

Comments
 (0)