From 7d8737ef1ee60b657c6ee7624af793b5a25a39a7 Mon Sep 17 00:00:00 2001 From: H3idi-X Date: Tue, 18 Apr 2023 09:40:57 +0900 Subject: [PATCH] Task/modify installation manual (#303) * updated installation.md * temporarily deleted the metal urp test for unity 2023.1 because 2023.1/staging is broken. --- .yamato/osx_metal-urp-2023.1.yml | 50 ------------------- .../Documentation~/installation.md | 2 +- 2 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 .yamato/osx_metal-urp-2023.1.yml diff --git a/.yamato/osx_metal-urp-2023.1.yml b/.yamato/osx_metal-urp-2023.1.yml deleted file mode 100644 index cfe0606fe..000000000 --- a/.yamato/osx_metal-urp-2023.1.yml +++ /dev/null @@ -1,50 +0,0 @@ -# -# -# -test_projects: - - name: UniversalGraphicsTest-2023.1 -unity_versions: - - name: 2023.1 ---- -{% for test_project in test_projects %} -{% for unity_version in unity_versions %} -{{ test_project.name }}_OSX_Metal_playmode_mono_Linear_{{ unity_version.name }}: - name: {{ test_project.name }} on OSX_Metal_playmode_mono_Linear on version {{ unity_version.name }} - agent: - type: Unity::metal::macmini - model: M1 - image: package-ci/macos-12:v0.0.1-1084810 - flavor: b1.large - variables: - UPM_REGISTRY: https://artifactory-slo.bf.unity3d.com/artifactory/api/npm/upm-candidates - commands: - - command: curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output TestProjects/{{ test_project.name }}/utr - - chmod +x TestProjects/{{ test_project.name }}/utr - - 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'" - - command: rsync -aq -e 'ssh -i ~/.ssh/id_rsa_macmini' --append --timeout=30 $YAMATO_SOURCE_DIR bokken@$BOKKEN_DEVICE_IP:~/ - retries: 2 - - command: scp -i ~/.ssh/id_rsa_macmini -o "StrictHostKeyChecking=no" ~/.ssh/id_rsa_macmini bokken@$BOKKEN_DEVICE_IP:~/.ssh/id_rsa_macmini - retries: 2 - - 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' - retries: 2 - - command: |5- - - 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 }}" - UTR_RESULT=$? - mkdir -p TestProjects/{{ test_project.name }}/test-results/ - 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/ - exit $UTR_RESULT - triggers: - branches: - only: - - "/.*/" - artifacts: - logs: - paths: - - "**/test-results/**" - - "TestProjects/{{ test_project.name }}/Logs/*.log" - dependencies: - - path: .yamato/_editor.yml#editor:priming:{{ unity_version.name }}:macos - rerun: on-new-revision -{% endfor %} -{% endfor %} \ No newline at end of file diff --git a/com.unity.toonshader/Documentation~/installation.md b/com.unity.toonshader/Documentation~/installation.md index 3e8af7637..2e564bffd 100644 --- a/com.unity.toonshader/Documentation~/installation.md +++ b/com.unity.toonshader/Documentation~/installation.md @@ -10,4 +10,4 @@ Installing the package requires the following steps. 1. Click the **+** button, and choose **Add package from git URL** 1. Type in `com.unity.toonshader` and click the **Add** button. -We can also specify a particular version, for example: `com.unity.toonshader@0.8.4-preview` +We can also specify a particular version, for example: `com.unity.toonshader@0.9.2-preview`