Skip to content

Commit 0246ae6

Browse files
authored
CHANGE: Move samples (#820)
1 parent d3fdbeb commit 0246ae6

File tree

864 files changed

+882
-182
lines changed

Some content is hidden

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

864 files changed

+882
-182
lines changed

.yamato/promotion.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,24 @@
1-
test_editors:
2-
- version: 2019.1
3-
test_platforms:
4-
- name: win
5-
type: Unity::VM
6-
image: package-ci/win10:stable
7-
flavor: b1.large
8-
---
91
promote:
102
name: Promote to Production
113
agent:
12-
type: Unity::VM
13-
image: package-ci/win10:stable
14-
flavor: b1.large
4+
type: Unity::VM::osx
5+
image: buildfarm/mac:stable
6+
flavor: m1.mac
157
variables:
168
UPMCI_PROMOTION: 1
179
commands:
1810
- mv ./Assets/Samples ./Packages/com.unity.inputsystem
1911
- mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem
2012
- npm install upm-ci-utils@stable -g --registry https://api.bintray.com/npm/unity/unity-npm
2113
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
14+
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u 2019.1
2215
- upm-ci package promote --package-path ./Packages/com.unity.inputsystem/
16+
- Editor=.Editor/Unity.app/Contents/MacOS/Unity Method=Publish sh ExternalSampleProjects/publish.sh
2317
triggers:
2418
tags:
2519
only:
2620
- /^(r|R)elease-\d+\.\d+\.\d+(-preview(\.\d+)?)?$/
2721
artifacts:
2822
artifacts:
2923
paths:
30-
- "upm-ci~/packages/*.tgz"
24+
- "upm-ci~/**/*"

.yamato/publish-samples.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
test_sample_projects:
2+
name : Publish Sample Projects
3+
agent:
4+
type: Unity::VM::osx
5+
image: buildfarm/mac:stable
6+
flavor: m1.mac
7+
commands:
8+
- npm install upm-ci-utils@stable -g --registry https://api.bintray.com/npm/unity/unity-npm
9+
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
10+
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u 2019.1
11+
- Editor=.Editor/Unity.app/Contents/MacOS/Unity Method=Publish sh ExternalSampleProjects/publish.sh
12+
artifacts:
13+
UTR_Output.zip:
14+
paths:
15+
- "upm-ci~/**/*"

.yamato/test-samples.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
test_sample_projects:
2+
name : Test Sample Projects
3+
agent:
4+
type: Unity::VM::osx
5+
image: buildfarm/mac:stable
6+
flavor: m1.mac
7+
commands:
8+
- npm install upm-ci-utils@stable -g --registry https://api.bintray.com/npm/unity/unity-npm
9+
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
10+
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u 2019.1
11+
- Editor=.Editor/Unity.app/Contents/MacOS/Unity Method=DryRun sh ExternalSampleProjects/publish.sh
12+
triggers:
13+
branches:
14+
only:
15+
- "/.*/"
16+
artifacts:
17+
UTR_Output.zip:
18+
paths:
19+
- "upm-ci~/**/*"
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"displayName": "Tanks Demo",
3+
"description": "The Unity Tanks demo game, converted to using the Input System package, and with a custom input binding screen. This sample is not actually part of the package, but needs to be downloaded."
4+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &11400000
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 11500000, guid: 9858d4c8055fd45539a2e86388f7c5ba, type: 3}
13+
m_Name: TanksDemo
14+
m_EditorClassIdentifier:
15+
url: https://github.com/Unity-Technologies/InputSystem/releases/download/%VERSION%/TanksDemo-%VERSION%.unitypackage

Assets/TanksDemo/ProjectSettings/DynamicsManager.asset.meta renamed to Assets/Samples/TanksDemo/TanksDemo.asset.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"displayName": "Touch Samples",
3+
"description": "A series of sample scenes for using touch input with the Input System package. This sample is not actually part of the package, but needs to be downloaded."
4+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &11400000
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 11500000, guid: 9858d4c8055fd45539a2e86388f7c5ba, type: 3}
13+
m_Name: TanksDemo
14+
m_EditorClassIdentifier:
15+
url: https://github.com/Unity-Technologies/InputSystem/releases/download/%VERSION%/TanksDemo-%VERSION%.unitypackage

0 commit comments

Comments
 (0)