Skip to content

Commit 7bc0a4e

Browse files
committed
Added osx_metal-urp-2022.3.yml
1 parent b6dd43d commit 7bc0a4e

File tree

5 files changed

+72
-6
lines changed

5 files changed

+72
-6
lines changed

.yamato/osx_metal-urp-2022.3.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#
2+
#
3+
#
4+
test_projects:
5+
- name: UniversalGraphicsTest-2022.3
6+
unity_versions:
7+
- name: 2022.3
8+
---
9+
{% for test_project in test_projects %}
10+
{% for unity_version in unity_versions %}
11+
{{ test_project.name }}_OSX_Metal_playmode_mono_Linear_{{ unity_version.name }}:
12+
name: {{ test_project.name }} on OSX_Metal_playmode_mono_Linear on version {{ unity_version.name }}
13+
agent:
14+
type: Unity::metal::macmini
15+
model: M1
16+
image: package-ci/macos-12:v0.0.1-1084810
17+
flavor: b1.large
18+
variables:
19+
UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates
20+
commands:
21+
- command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output TestProjects/{{ test_project.name }}/utr
22+
- chmod +x TestProjects/{{ test_project.name }}/utr
23+
- command: ssh -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" bokken@$BOKKEN_DEVICE_IP "bash -lc 'pip3 install unity-downloader-cli --user --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade'"
24+
- command: rsync -aq -e 'ssh -i ~/.ssh/id_rsa_macmini' --append --timeout=30 $YAMATO_SOURCE_DIR bokken@$BOKKEN_DEVICE_IP:~/
25+
retries: 2
26+
- command: scp -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini
27+
retries: 2
28+
- command: ssh -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" bokken@$BOKKEN_DEVICE_IP '$(python3 -m site --user-base)/bin/unity-downloader-cli --source-file ~/com.unity.toonshader/unity_revision_{{ unity_version.name }}.txt -c editor -c il2cpp --wait --published-only'
29+
retries: 2
30+
- command: |5-
31+
32+
ssh -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" bokken@$BOKKEN_DEVICE_IP "export UPM_REGISTRY=https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates; echo \$UPM_REGISTRY; cd ~/com.unity.toonshader/TestProjects/{{ test_project.name }} && ~/com.unity.toonshader/TestProjects/{{ test_project.name }}/utr --artifacts_path=/Users/bokken/com.unity.toonshader/TestProjects/{{ test_project.name }}/test-results --editor-location=/Users/bokken/.Editor --extra-editor-arg="-colorspace=Linear" --reruncount=2 --scripting-backend=Mono2x --suite=playmode --testproject=/Users/bokken/com.unity.toonshader/TestProjects/{{ test_project.name }}"
33+
UTR_RESULT=$?
34+
mkdir -p TestProjects/{{ test_project.name }}/test-results/
35+
scp -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" -r bokken@$BOKKEN_DEVICE_IP:/Users/bokken/com.unity.toonshader/TestProjects/{{ test_project.name }}/test-results/ TestProjects/{{ test_project.name }}/test-results/
36+
exit $UTR_RESULT
37+
triggers:
38+
branches:
39+
only:
40+
- "/.*/"
41+
artifacts:
42+
logs:
43+
paths:
44+
- "**/test-results/**"
45+
- "TestProjects/{{ test_project.name }}/Logs/*.log"
46+
dependencies:
47+
- path: .yamato/_editor.yml#editor:priming:{{ unity_version.name }}:macos
48+
rerun: on-new-revision
49+
{% endfor %}
50+
{% endfor %}

TestProjects/UniversalGraphicsTest-2022.3/Assets/RP_Assets/ForwardRenderer.asset

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ MonoBehaviour:
1515
debugShaders:
1616
debugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7,
1717
type: 3}
18+
hdrDebugViewPS: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3}
1819
m_RendererFeatures: []
1920
m_RendererFeatureMap:
2021
m_UseNativeRenderPass: 0
@@ -33,6 +34,7 @@ MonoBehaviour:
3334
coreBlitPS: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3}
3435
coreBlitColorAndDepthPS: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b,
3536
type: 3}
37+
blitHDROverlay: {fileID: 4800000, guid: a89bee29cffa951418fc1e2da94d1959, type: 3}
3638
cameraMotionVector: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf,
3739
type: 3}
3840
objectMotionVector: {fileID: 4800000, guid: 7b3ede40266cd49a395def176e1bc486,

TestProjects/UniversalGraphicsTest-2022.3/Assets/UniversalRenderPipelineGlobalSettings.asset

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,17 @@ MonoBehaviour:
1212
m_Script: {fileID: 11500000, guid: 2ec995e51a6e251468d2a3fd8a686257, type: 3}
1313
m_Name: UniversalRenderPipelineGlobalSettings
1414
m_EditorClassIdentifier:
15-
k_AssetVersion: 2
15+
k_AssetVersion: 3
16+
m_RenderingLayerNames:
17+
- Light Layer default
18+
- Light Layer 1
19+
- Light Layer 2
20+
- Light Layer 3
21+
- Light Layer 4
22+
- Light Layer 5
23+
- Light Layer 6
24+
- Light Layer 7
25+
m_ValidRenderingLayers: 255
1626
lightLayerName0: Light Layer default
1727
lightLayerName1: Light Layer 1
1828
lightLayerName2: Light Layer 2
@@ -24,4 +34,8 @@ MonoBehaviour:
2434
m_StripDebugVariants: 1
2535
m_StripUnusedPostProcessingVariants: 0
2636
m_StripUnusedVariants: 1
37+
m_StripUnusedLODCrossFadeVariants: 1
38+
m_StripScreenCoordOverrideVariants: 1
2739
supportRuntimeDebugDisplay: 0
40+
m_ShaderVariantLogLevel: 0
41+
m_ExportShaderVariants: 1

TestProjects/UniversalGraphicsTest-2022.3/Packages/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"dependencies": {
3-
"com.unity.ide.rider": "3.0.18",
4-
"com.unity.ide.visualstudio": "2.0.17",
3+
"com.unity.ide.rider": "3.0.21",
4+
"com.unity.ide.visualstudio": "2.0.18",
55
"com.unity.ide.vscode": "1.2.5",
66
"com.unity.package-validation-suite": "0.10.0-preview",
77
"com.unity.raytracedhardshadow": "https://github.com/unity3d-jp/RaytracedHardShadow.git#bbba12aaf3e7c6fb1c198746ef9a0fcf408b79b9",
8-
"com.unity.render-pipelines.universal": "14.0.6",
8+
"com.unity.render-pipelines.universal": "14.0.8",
99
"com.unity.test-framework": "1.1.33",
1010
"com.unity.test-framework.build": "0.0.1-preview.14",
1111
"com.unity.test-framework.utp-reporter": "1.0.2-preview",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
m_EditorVersion: 2022.2.8f1
2-
m_EditorVersionWithRevision: 2022.2.8f1 (996aee41dc57)
1+
m_EditorVersion: 2022.3.2f1
2+
m_EditorVersionWithRevision: 2022.3.2f1 (d74737c6db50)

0 commit comments

Comments
 (0)