forked from Unity-Technologies/com.unity.netcode.gameobjects
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Proper Package setup with yamato support
- Moved the core MLAPI to the proper package structure (it has to be in this structor - Added examples of transport packages living in the same repo :D (ENET/Initial UTP) - Added basic Yamato package validation scripts and publish/promote
- Loading branch information
1 parent
996d46d
commit 92d0949
Showing
509 changed files
with
742 additions
and
229,281 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
editors: | ||
- version: 2020.1 | ||
- version: trunk | ||
packages: | ||
- id: mlapi-core | ||
packagename: com.unity.multiplayer.mlapi | ||
- id: enet-transport | ||
packagename: com.unity.transport.enet | ||
- id: utp-transport | ||
packagename: com.unity.transport.utp | ||
platforms: | ||
- name: ubuntu | ||
agent: | ||
type: Unity::VM | ||
image: package-ci/ubuntu:stable | ||
flavor: b1.large | ||
copycmd: cp ./upm-ci~/packages/*.tgz ./.Editor/Unity/Resources/PackageManager/Editor | ||
editorpath: "$(pwd)/.Editor/Unity" | ||
--- | ||
{% for package in packages -%} | ||
{% assign validation_editor = editors | first -%} | ||
pack_{{ package.id }}: | ||
name: Pack {{ package.id }} | ||
agent: | ||
type: Unity::VM | ||
image: package-ci/win10:stable | ||
flavor: b1.medium | ||
commands: | ||
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm | ||
- upm-ci package pack --package-path {{ package.packagename }} | ||
artifacts: | ||
packages: | ||
paths: | ||
- "upm-ci~/packages/**/*" | ||
|
||
validate_{{ package.id }}_{{ validation_editor.version }}: | ||
name: Validate {{ package.id }} {{ editor.version }} | ||
agent: | ||
type: Unity::VM | ||
image: package-ci/win10:stable | ||
flavor: b1.large | ||
commands: | ||
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm | ||
- upm-ci package test -u {{ validation_editor.version }} --package-filter {{ package.packagename }} | ||
artifacts: | ||
logs: | ||
paths: | ||
- "**/upm-ci~/test-results/**/*" | ||
dependencies: | ||
- .yamato/upm-ci-packages.yml#pack_{{ package.id }} | ||
|
||
publish_{{ package.id }}: | ||
name: Publish {{ package.packagename }} | ||
agent: | ||
type: Unity::VM | ||
image: package-ci/win10:stable | ||
flavor: b1.large | ||
commands: | ||
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm | ||
- upm-ci package publish --package-path {{ package.packagename }} | ||
artifacts: | ||
packages: | ||
paths: | ||
- "upm-ci~/packages/*.tgz" | ||
dependencies: | ||
- .yamato/upm-ci-packages.yml#validate_{{ package.id }}_{{ validation_editor.version }} | ||
|
||
promote_{{ package.id }}: | ||
name: Promote {{ package.packagename }} | ||
agent: | ||
type: Unity::VM | ||
image: package-ci/win10:stable | ||
flavor: b1.large | ||
variables: | ||
UPMCI_PROMOTION: 1 | ||
commands: | ||
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm | ||
- upm-ci package promote --package-path {{ package.packagename }} | ||
artifacts: | ||
packages: | ||
paths: | ||
- "upm-ci~/packages/*.tgz" | ||
dependencies: | ||
- .yamato/upm-ci-packages.yml#publish_{{ package.id }} | ||
{% endfor %} | ||
|
||
publish_all: | ||
name: Publish all packages | ||
triggers: | ||
tags: | ||
only: | ||
- /^\d+\.\d+\.\d+(-preview(\.\d+)?)?$/ | ||
dependencies: | ||
{% for package in packages -%} | ||
- .yamato/upm-ci-packages.yml#publish_{{ package.id }} | ||
{% endfor %} | ||
|
||
promote_all: | ||
name: Promote all packages | ||
dependencies: | ||
{% for package in packages -%} | ||
- .yamato/upm-ci-packages.yml#promote_{{ package.id }} | ||
{% endfor %} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Changelog | ||
All notable changes to this package will be documented in this file. The format is based on Keep a Changelog | ||
|
||
[0.0.1-preview.1] - 2020-10-05 | ||
This is the first release of Unity MLAPI Package |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...er.mlapi.editor/Unity.MLAPI.Editor.asmdef → ...com.unity.multiplayer.mlapi.editor.asmdef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...multiplayer.mlapi/Unity.MLAPI.Core.asmdef → ...om.unity.multiplayer.mlapi.runtime.asmdef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"displayName":"MLAPI Samples", | ||
"description": "Simple Sample using different setups for MLAPI", | ||
"createSeparatePackage": false | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Changelog | ||
All notable changes to this package will be documented in this file. The format is based on Keep a Changelog | ||
|
||
[0.0.1-preview.1] - 2020-10-05 | ||
This is the first release of Enet MLAPI Package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Enet transport for MLAPI |
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
com.unity.multiplayer.transport.enet/Runtime/com.unity.multiplayer.transport.enet.asmdef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "ENET MLAPI Transport", | ||
"references": [ | ||
"GUID:696707ce333fb8645b1ced9c7a716445" | ||
], | ||
"includePlatforms": [], | ||
"excludePlatforms": [], | ||
"allowUnsafeCode": false, | ||
"overrideReferences": false, | ||
"precompiledReferences": [], | ||
"autoReferenced": true, | ||
"defineConstraints": [], | ||
"versionDefines": [], | ||
"noEngineReferences": false | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "com.unity.multiplayer.transport.enet", | ||
"displayName": "ENET Transport for MLAPI", | ||
"version": "0.0.1-preview.1", | ||
"unity": "2019.4", | ||
"unityRelease": "8f1", | ||
"description": "ENET Transport for MLAPI", | ||
"keywords": [ | ||
"unity" | ||
], | ||
"dependencies": { | ||
"com.unity.multiplayer.mlapi": "0.0.1-preview.1" | ||
}, | ||
"type": "library", | ||
"hideInEditor": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Changelog | ||
All notable changes to this package will be documented in this file. The format is based on Keep a Changelog | ||
|
||
[0.0.1-preview.1] - 2020-10-05 | ||
This is the first release of Enet MLAPI Package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Enet transport for MLAPI |
Oops, something went wrong.