Skip to content

Commit d98ae6e

Browse files
author
Rene Damm
committed
MERGE: develop => stable.
2 parents ba53a4b + 03354dc commit d98ae6e

File tree

494 files changed

+13100
-12608
lines changed

Some content is hidden

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

494 files changed

+13100
-12608
lines changed

.github/pull_request_template.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
### Description
2+
3+
_Please fill this section with a description what the pull request is trying to address._
4+
5+
### Changes made
6+
7+
_Please write down a short description of what changes were made._
8+
9+
### Notes
10+
11+
_Please write down any additional notes, remove the section if not applicable._
12+
13+
### Checklist
14+
15+
Before review:
16+
17+
- [ ] Changelog entry added.
18+
- Explains the change in `Changed`, `Fixed`, `Added` sections.
19+
- For API change contains an example snippet and/or migration example.
20+
- FogBugz ticket attached, example `([case %number%](https://issuetracker.unity3d.com/issues/...))`.
21+
- FogBugz is marked as "Resolved" with *next* release version correctly set.
22+
- [ ] Tests added/changed, if applicable.
23+
- Functional tests `Area_CanDoX`, `Area_CanDoX_EvenIfYIsTheCase`, `Area_WhenIDoX_AndYHappens_ThisIsTheResult`.
24+
- Performance tests.
25+
- Integration tests.
26+
- [ ] Docs for new/changed API's.
27+
- Xmldoc cross references are set correctly.
28+
- Added explanation how the API works.
29+
- Usage code examples added.
30+
- The manual is updated, if needed.
31+
32+
During merge:
33+
34+
- [ ] Commit message for squash-merge is prefixed with one of the list:
35+
- `NEW: ___`.
36+
- `FIX: ___`.
37+
- `DOCS: ___`.
38+
- `CHANGE: ___`.
39+
- `RELEASE: 1.1.0-preview.3`.

.yamato/config.metadata

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
editors:
22
- version: 2019.4
3-
- version: 2020.1
3+
- version: 2020.3
4+
- version: 2021.1
5+
- version: trunk
46
platforms:
57
- name: win
68
type: Unity::VM
7-
image: package-ci/win10:latest
9+
image: package-ci/win10:v1.15.0-713263
810
flavor: b1.large
11+
netinstall: choco install netfx-4.7.1-devpack -y --ignore-detected-reboot --ignore-package-codes --Source https://bfartifactory.bf.unity3d.com/artifactory/api/nuget/unity-choco-local
912
- name: win_standalone
1013
type: Unity::VM
11-
image: package-ci/win10:latest
14+
image: package-ci/win10:v1.15.0-713263
1215
flavor: b1.large
1316
runtime: StandaloneWindows64
17+
netinstall: choco install netfx-4.7.1-devpack -y --ignore-detected-reboot --ignore-package-codes --Source https://bfartifactory.bf.unity3d.com/artifactory/api/nuget/unity-choco-local
1418
- name: win_standalone_il2cpp
1519
type: Unity::VM
16-
image: package-ci/win10:latest
20+
image: package-ci/win10:v1.15.0-713263
1721
flavor: b1.large
1822
runtime: StandaloneWindows64
1923
scripting-backend: Il2Cpp
2024
installscript: unity-downloader-cli -c editor -c StandaloneSupport-IL2CPP -w -u
25+
netinstall: choco install netfx-4.7.1-devpack -y --ignore-detected-reboot --ignore-package-codes --Source https://bfartifactory.bf.unity3d.com/artifactory/api/nuget/unity-choco-local
2126
- name: mac
2227
type: Unity::VM::osx
2328
image: package-ci/mac:stable

.yamato/upm-ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,19 @@
1010
image: {{ platform.image }}
1111
flavor: {{ platform.flavor}}
1212
commands:
13+
# Install any extra .NET SDK's on images that don't have them, "docfx metadata" requires a .NET SDK to work.
14+
{% if platform.netinstall %}
15+
- {{ platform.netinstall }}
16+
{% endif %}
17+
# Get latest version of doctools package. Automatically makes the documentation tests in APIVerification go live.
18+
- git clone git@github.cds.internal.unity3d.com:unity/com.unity.package-manager-doctools.git Packages/com.unity.package-manager-doctools
1319
# We keep the samples in Assets/ as they otherwise won't get imported and you can't
1420
# really work with them. Move them into the package for when we run upm-ci here.
1521
- mv ./Assets/Samples ./Packages/com.unity.inputsystem
1622
- mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem
1723
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
1824
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
25+
# Run upm-ci verification tests as well as tests contained in the package.
1926
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {{ editor.version }}
2027
{% if platform.installscript %}
2128
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
@@ -25,6 +32,7 @@
2532
# samples are in the package. Move the samples back into the project.
2633
- mv ./Packages/com.unity.inputsystem/Samples ./Assets
2734
- mv ./Packages/com.unity.inputsystem/Samples.meta ./Assets
35+
# Now run our full test suite that sits in Assets/Tests by running UTR on our project.
2836
- upm-ci~/tools/utr/utr --testproject . --timeout=1200 --editor-location=.Editor --artifacts_path=upm-ci~/test-results/isolation-com.unity.inputsystem.tests --suite=playmode --api-profile=NET_4_6 --stdout-filter=minimal {% if platform.runtime %} --platform {{ platform.runtime }} {% endif %} {% if platform.scripting-backend %} --scripting-backend {{ platform.scripting-backend }} {% endif %} --report-performance-data --performance-project-id=InputSystem
2937
artifacts:
3038
UTR_Output.zip:
@@ -74,6 +82,26 @@ run_ios_{{ editor.version }}:
7482
logs:
7583
paths:
7684
- "build/test-results/**"
85+
86+
build_tvos_{{ editor.version }}:
87+
name: Build Tests on {{ editor.version }} on tvos
88+
agent:
89+
type: Unity::VM::osx
90+
image: mobile/macos-10.13-testing:stable
91+
flavor: b1.large
92+
commands:
93+
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
94+
- unity-downloader-cli -c Editor -c AppleTV -u {{ editor.version }} --fast -w
95+
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
96+
- chmod +x ./utr
97+
- ./utr --suite=playmode --platform=tvOS --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --build-only --report-performance-data --performance-project-id=InputSystem
98+
artifacts:
99+
players:
100+
paths:
101+
- "build/players/**"
102+
logs:
103+
paths:
104+
- "build/logs/**"
77105

78106
{% for backend in scripting_backends %}
79107
build_android_{{ editor.version }}_{{ backend.name }}:
@@ -142,6 +170,7 @@ all_tests:
142170
- .yamato/upm-ci.yml#run_android_{{ editor.version }}_{{ backend.name }}
143171
{% endfor %}
144172
- .yamato/upm-ci.yml#run_ios_{{ editor.version }}
173+
- .yamato/upm-ci.yml#build_tvos_{{ editor.version }}
145174
{% endfor %}
146175
triggers:
147176
cancel_old_ci: true

0 commit comments

Comments
 (0)