Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit c076fb4

Browse files
committed
SimViz OpenSource
0 parents  commit c076fb4

File tree

7,481 files changed

+855012
-0
lines changed

Some content is hidden

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

7,481 files changed

+855012
-0
lines changed

Diff for: .gitattributes

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.manifest text !filter !merge !diff
2+
*.css text !filter !merge !diff
3+
*.js text !filter !merge !diff
4+
*.yml text !filter !merge !diff
5+
*.txt text !filter !merge !diff
6+
*.json text !filter !merge !diff
7+
*.hlsl text !filter !merge !diff
8+
*.asmdef text !filter !merge !diff
9+
*.npmignore text !filter !merge !diff
10+
*.md text !filter !merge !diff
11+
*.cginc text !filter !merge !diff
12+
*.shader text !filter !merge !diff
13+
*.compute text !filter !merge !diff
14+
*.cs text !filter !merge !diff
15+
*.meta text !filter !merge !diff

Diff for: .github/pull_request_template.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Peer Review Information:
2+
Information on any code, feature, documentation changes here
3+
4+
## Editor / Package versioning:
5+
**Editor Version Target (i.e. 19.3, 20.1)**: 2019.3
6+
7+
## Dev Testing:
8+
**Tests Added**:
9+
<br>
10+
**Package Tests (Pass/Fail)**:
11+
[X] - Make sure automation passes
12+
<br>
13+
**Core Scenario Tested**:
14+
<br>
15+
**At Risk Areas**:
16+
<br>
17+
**Notes + Expectations**:

Diff for: .gitignore

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
artifacts/**
2+
build/**
3+
**/.vs/**
4+
.build_script/**
5+
node_modules/**
6+
**/Temp/**/*
7+
**/obj/**/*
8+
**/Library/**/*
9+
**/TestProjects/Public/Logs/**
10+
**/TestProjects/SimVizTest/utr
11+
**/TestProjects/SimVizTest/Build
12+
**/*Results/**
13+
**/Logs/**
14+
**/.vscode/**
15+
**/.idea/**
16+
.DS_Store
17+
.npmrc
18+
!Documentation~
19+
!.Documentation
20+
npm-debug.log
21+
build.sh.meta
22+
build.bat.meta
23+
.idea/
24+
.Editor/*
25+
upm-ci~/*
26+
27+
*.csproj
28+
*.sln
29+
30+
*.lib*
31+
*.pdb*
32+
**/.Editor
33+
**/upm-ci~
34+
**/.bin
35+
CodeCoverage
36+
/.download
37+
/TestProjects/SimVizURP/Build

Diff for: .gitmodules

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[submodule "Submodules/com.unity.perception"]
2+
path = Submodules/com.unity.perception
3+
url = [email protected]:Unity-Technologies/com.unity.perception.git
4+
[submodule "com.unity.simviz/Submodules/Path-Creator"]
5+
path = com.unity.simviz/Submodules/Path-Creator
6+
url = [email protected]:mrpropellers/Path-Creator.git
7+
8+
[submodule "com.unity.perception"]
9+
path = com.unity.perception
10+
url = [email protected]:Unity-Technologies/com.unity.perception.git

Diff for: .npmignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
artifacts/**
2+
build/**
3+
.build_script/**
4+
node_modules/**
5+
TestProjects/**
6+
.DS_Store
7+
.npmrc
8+
.npmignore
9+
.gitignore
10+
.gitlab-ci.yml
11+
build.sh
12+
build.sh.meta
13+
build.bat
14+
build.bat.meta

Diff for: .yamato/promotion.yml

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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+
#---
9+
#{% for editor in test_editors %}
10+
#{% for platform in test_platforms %}
11+
#promotion_test_{{ platform.name }}_{{ editor.version }}:
12+
# name : Promotion Test {{ editor.version }} on {{ platform.name }}
13+
# agent:
14+
# type: {{ platform.type }}
15+
# image: {{ platform.image }}
16+
# flavor: {{ platform.flavor}}
17+
# variables:
18+
# UPMCI_PROMOTION: 1
19+
# commands:
20+
# - npm install upm-ci-utils@latest -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
21+
# - upm-ci package test --unity-version {{ editor.version }}
22+
# artifacts:
23+
# logs:
24+
# paths:
25+
# - "upm-ci~/test-results/**/*"
26+
# dependencies:
27+
# - .yamato/upm-ci.yml#pack
28+
#{% endfor %}
29+
#{% endfor %}
30+
#
31+
#promotion_test_trigger:
32+
# name: Promotion Tests Trigger
33+
# agent:
34+
# type: Unity::VM
35+
# image: package-ci/win10:stable
36+
# flavor: b1.large
37+
# artifacts:
38+
# logs:
39+
# paths:
40+
# - "upm-ci~/test-results/**/*"
41+
# packages:
42+
# paths:
43+
# - "upm-ci~/packages/**/*"
44+
# dependencies:
45+
#{% for editor in test_editors %}
46+
#{% for platform in test_platforms %}
47+
# - .yamato/promotion.yml#promotion_test_{{platform.name}}_{{editor.version}}
48+
#{% endfor %}
49+
#{% endfor %}
50+
#
51+
#promote:
52+
# name: Promote to Production
53+
# agent:
54+
# type: Unity::VM
55+
# image: package-ci/win10:stable
56+
# flavor: b1.large
57+
# variables:
58+
# UPMCI_PROMOTION: 1
59+
# commands:
60+
# - npm install upm-ci-utils@latest -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
61+
# - upm-ci package promote
62+
# triggers:
63+
# tags:
64+
# only:
65+
# - /^(r|R)elease-\d+\.\d+\.\d+(-preview(\.\d+)?)?$/
66+
# artifacts:
67+
# artifacts:
68+
# paths:
69+
# - "upm-ci~/packages/*.tgz"
70+
# dependencies:
71+
# - .yamato/upm-ci.yml#pack
72+
#{% for editor in test_editors %}
73+
#{% for platform in test_platforms %}
74+
# - .yamato/promotion.yml#promotion_test_{{ platform.name }}_{{ editor.version }}
75+
#{% endfor %}
76+
#{% endfor %}

Diff for: .yamato/upm-ci-full.yml

+143
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
test_editors:
2+
- version: 2019.4.10f1
3+
test_platforms:
4+
- name: win
5+
type: Unity::VM
6+
image: package-ci/win10:stable
7+
flavor: b1.large
8+
extra-args: --force-d3d11
9+
standalone-platform: StandaloneWindows64
10+
- name: mac
11+
type: Unity::VM::osx
12+
image: package-ci/mac:stable
13+
flavor: m1.mac
14+
extra-args: --force-metal
15+
standalone-platform: StandaloneOSX
16+
- name: ubuntu
17+
type: Unity::VM
18+
image: package-ci/ubuntu:latest
19+
flavor: b1.large
20+
21+
suites:
22+
- name: standalone
23+
display_name: standalone
24+
args: --suite=playmode --platform=
25+
- name: editmode
26+
display_name: editmode
27+
args: --suite=playmode --suite=editor --platform=editmode
28+
29+
package_variants:
30+
- name: SimViz
31+
32+
projects:
33+
- name: SimVizTest
34+
- name: SimVizURP
35+
---
36+
{% for variant in package_variants %}
37+
pack_{{ variant.name }}:
38+
name: Pack {{variant.name}} package
39+
agent:
40+
type: Unity::VM
41+
image: package-ci/win10:stable
42+
flavor: b1.large
43+
commands:
44+
- git submodule update --init --recursive
45+
- npm install upm-ci-utils -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
46+
- upm-ci package pack --package-path ./com.unity.simviz/
47+
artifacts:
48+
packages:
49+
paths:
50+
- "upm-ci~/packages/**/*"
51+
{% endfor %}
52+
53+
{% for variant in package_variants %}
54+
{% for editor in test_editors %}
55+
{% for platform in test_platforms %}
56+
pkg_test_{{variant.name}}_{{ platform.name }}_{{ editor.version }}:
57+
name : Package tests ({{variant.name}} pkg, {{ editor.version }}, {{ platform.name }})
58+
agent:
59+
type: {{ platform.type }}
60+
image: {{ platform.image }}
61+
flavor: {{ platform.flavor}}
62+
commands:
63+
- git submodule update --init --recursive
64+
- npm install upm-ci-utils -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
65+
- upm-ci package test -u {{ editor.version }} --package-path ./com.unity.simviz --type vetting-tests
66+
artifacts:
67+
logs:
68+
paths:
69+
- "upm-ci~/test-results/**/*"
70+
dependencies:
71+
- .yamato/upm-ci-full.yml#pack_{{ variant.name }}
72+
{% endfor %}
73+
{% endfor %}
74+
{% endfor %}
75+
76+
test_trigger:
77+
name: All Tests
78+
agent:
79+
type: Unity::VM
80+
image: package-ci/win10:stable
81+
flavor: b1.small
82+
commands:
83+
- dir
84+
triggers:
85+
branches:
86+
only:
87+
- "/.*/"
88+
recurring:
89+
- branch: master
90+
frequency: daily # Should run between midnight and 6AM UTC
91+
artifacts:
92+
logs:
93+
paths:
94+
- "upm-ci~/test-results/**/*"
95+
packages:
96+
paths:
97+
- "upm-ci~/packages/**/*"
98+
dependencies:
99+
{% for variant in package_variants %}
100+
{% for editor in test_editors %}
101+
{% for platform in test_platforms %}
102+
- .yamato/upm-ci-full.yml#pkg_test_{{variant.name}}_{{platform.name}}_{{editor.version}}
103+
{% endfor %}
104+
{% endfor %}
105+
{% endfor %}
106+
107+
# Disabling trigger of standalone tests which aren't working at the moment
108+
{% for editor in test_editors %}
109+
- .yamato/upm-ci-simviztest.yml#codecoverage_windows_editmode_{{editor.version}}
110+
{% for project in projects %}
111+
- .yamato/upm-ci-simviztest.yml#{{project.name}}_windows_standalone_{{editor.version}}
112+
- .yamato/upm-ci-simviztest.yml#{{project.name}}_linux_standalone_{{editor.version}}
113+
- .yamato/upm-ci-simviztest.yml#{{project.name}}_windows_editmode_{{editor.version}}
114+
- .yamato/upm-ci-simviztest.yml#{{project.name}}_linux_editmode_{{editor.version}}
115+
{% endfor %}
116+
{% endfor %}
117+
118+
{% for variant in package_variants %}
119+
publish:
120+
name: Publish SimViz package to internal registry
121+
agent:
122+
type: Unity::VM
123+
image: package-ci/win10:stable
124+
flavor: b1.large
125+
commands:
126+
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
127+
- upm-ci package publish --package-path com.unity.simviz
128+
triggers:
129+
tags:
130+
only:
131+
- /^(r|R)(c|C)-\d+\.\d+\.\d+(-preview(\.\d+)?)?$/
132+
artifacts:
133+
artifacts:
134+
paths:
135+
- "upm-ci~/packages/*.tgz"
136+
dependencies:
137+
- .yamato/upm-ci-full.yml#pack_{{ variant.name }}
138+
{% for editor in test_editors %}
139+
{% for platform in test_platforms %}
140+
- .yamato/upm-ci-full.yml#test_simviz_{{ platform.name }}_{{ editor.version }}
141+
{% endfor %}
142+
{% endfor %}
143+
{% endfor %}

0 commit comments

Comments
 (0)