-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add MA/NDMF support to improve menu items compatibility
- Loading branch information
Showing
43 changed files
with
964 additions
and
217 deletions.
There are no files selected for viewing
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,41 @@ | ||
{ | ||
"dependencies": { | ||
"com.unity.ide.rider": "3.0.26", | ||
"com.unity.ide.visualstudio": "2.0.22", | ||
"com.unity.test-framework": "1.1.29", | ||
"com.unity.textmeshpro": "2.1.6", | ||
"com.unity.timeline": "1.2.18", | ||
"com.unity.ugui": "1.0.0", | ||
"com.unity.modules.ai": "1.0.0", | ||
"com.unity.modules.androidjni": "1.0.0", | ||
"com.unity.modules.animation": "1.0.0", | ||
"com.unity.modules.assetbundle": "1.0.0", | ||
"com.unity.modules.audio": "1.0.0", | ||
"com.unity.modules.cloth": "1.0.0", | ||
"com.unity.modules.director": "1.0.0", | ||
"com.unity.modules.imageconversion": "1.0.0", | ||
"com.unity.modules.imgui": "1.0.0", | ||
"com.unity.modules.jsonserialize": "1.0.0", | ||
"com.unity.modules.particlesystem": "1.0.0", | ||
"com.unity.modules.physics": "1.0.0", | ||
"com.unity.modules.physics2d": "1.0.0", | ||
"com.unity.modules.screencapture": "1.0.0", | ||
"com.unity.modules.terrain": "1.0.0", | ||
"com.unity.modules.terrainphysics": "1.0.0", | ||
"com.unity.modules.tilemap": "1.0.0", | ||
"com.unity.modules.ui": "1.0.0", | ||
"com.unity.modules.uielements": "1.0.0", | ||
"com.unity.modules.umbra": "1.0.0", | ||
"com.unity.modules.unityanalytics": "1.0.0", | ||
"com.unity.modules.unitywebrequest": "1.0.0", | ||
"com.unity.modules.unitywebrequestassetbundle": "1.0.0", | ||
"com.unity.modules.unitywebrequestaudio": "1.0.0", | ||
"com.unity.modules.unitywebrequesttexture": "1.0.0", | ||
"com.unity.modules.unitywebrequestwww": "1.0.0", | ||
"com.unity.modules.vehicles": "1.0.0", | ||
"com.unity.modules.video": "1.0.0", | ||
"com.unity.modules.vr": "1.0.0", | ||
"com.unity.modules.wind": "1.0.0", | ||
"com.unity.modules.xr": "1.0.0" | ||
} | ||
} |
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,41 @@ | ||
{ | ||
"dependencies": { | ||
"com.unity.ide.rider": "3.0.26", | ||
"com.unity.ide.visualstudio": "2.0.22", | ||
"com.unity.test-framework": "1.1.29", | ||
"com.unity.textmeshpro": "2.1.6", | ||
"com.unity.timeline": "1.2.18", | ||
"com.unity.ugui": "1.0.0", | ||
"com.unity.modules.ai": "1.0.0", | ||
"com.unity.modules.androidjni": "1.0.0", | ||
"com.unity.modules.animation": "1.0.0", | ||
"com.unity.modules.assetbundle": "1.0.0", | ||
"com.unity.modules.audio": "1.0.0", | ||
"com.unity.modules.cloth": "1.0.0", | ||
"com.unity.modules.director": "1.0.0", | ||
"com.unity.modules.imageconversion": "1.0.0", | ||
"com.unity.modules.imgui": "1.0.0", | ||
"com.unity.modules.jsonserialize": "1.0.0", | ||
"com.unity.modules.particlesystem": "1.0.0", | ||
"com.unity.modules.physics": "1.0.0", | ||
"com.unity.modules.physics2d": "1.0.0", | ||
"com.unity.modules.screencapture": "1.0.0", | ||
"com.unity.modules.terrain": "1.0.0", | ||
"com.unity.modules.terrainphysics": "1.0.0", | ||
"com.unity.modules.tilemap": "1.0.0", | ||
"com.unity.modules.ui": "1.0.0", | ||
"com.unity.modules.uielements": "1.0.0", | ||
"com.unity.modules.umbra": "1.0.0", | ||
"com.unity.modules.unityanalytics": "1.0.0", | ||
"com.unity.modules.unitywebrequest": "1.0.0", | ||
"com.unity.modules.unitywebrequestassetbundle": "1.0.0", | ||
"com.unity.modules.unitywebrequestaudio": "1.0.0", | ||
"com.unity.modules.unitywebrequesttexture": "1.0.0", | ||
"com.unity.modules.unitywebrequestwww": "1.0.0", | ||
"com.unity.modules.vehicles": "1.0.0", | ||
"com.unity.modules.video": "1.0.0", | ||
"com.unity.modules.vr": "1.0.0", | ||
"com.unity.modules.wind": "1.0.0", | ||
"com.unity.modules.xr": "1.0.0" | ||
} | ||
} |
10 changes: 5 additions & 5 deletions
10
.github/unity-project/Packages/vpm-manifest.2022.3.6f1.json
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.
2 changes: 2 additions & 0 deletions
2
.github/unity-project/ProjectSettings/ProjectVersion.2022.3.6f1.txt
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,2 @@ | ||
m_EditorVersion: 2022.3.6f1 | ||
m_EditorVersionWithRevision: 2022.3.6f1 (b9e6e7e9fa2d) |
2 changes: 2 additions & 0 deletions
2
.github/unity-project/ProjectSettings/ProjectVersion.2023.2.2f1.txt
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,2 @@ | ||
m_EditorVersion: 2022.3.6f1 | ||
m_EditorVersionWithRevision: 2022.3.6f1 (b9e6e7e9fa2d) |
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 |
---|---|---|
|
@@ -2,28 +2,36 @@ name: Unity Tests | |
|
||
on: | ||
push: | ||
branches: master | ||
paths: | ||
- "**.cs" | ||
- ".github/unity-project/**/*" | ||
- ".github/workflows/unity-tests.yml" | ||
pull_request: | ||
paths: | ||
- "**.cs" | ||
- ".github/unity-project/**/*" | ||
- ".github/workflows/unity-tests.yml" | ||
|
||
jobs: | ||
build: | ||
name: Build and Test (${{ matrix.unity-version }}${{ matrix.import-vrcsdk && ', VRC' || '' }}${{ matrix.import-dynbone && ', DynBone' || '' }}${{ matrix.import-univrm && ', VRM' || '' }}) | ||
name: Build and Test (${{ matrix.unity-version }}${{ matrix.import-vrcsdk && ', VRC' || '' }}${{ matrix.import-dynbone && ', DynBone' || '' }}${{ matrix.import-univrm && ', VRM' || '' }}${{ matrix.import-ma && ', MA' || '' }}) | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
max-parallel: 6 | ||
matrix: | ||
unity-version: ['2019.4.31f1', '2022.3.6f1', '2023.2.2f1'] | ||
import-vrcsdk: [false, true] | ||
import-ma: [false, true] | ||
# import-dynbone: [false, true] | ||
# import-univrm: [false, true] | ||
import-dynbone: [false] | ||
import-univrm: [false] | ||
exclude: | ||
# - unity-version: "2019.4.31f1" | ||
# import-univrm: true | ||
- import-vrcsdk: false | ||
import-ma: true | ||
- unity-version: "2023.2.2f1" | ||
import-vrcsdk: true | ||
steps: | ||
|
@@ -50,11 +58,17 @@ jobs: | |
- uses: actions/cache@v3 | ||
with: | ||
path: Library | ||
key: Library-${{ matrix.unity-version }}-${{ matrix.import-vrcsdk }}-${{ matrix.import-dynbone }}-${{ matrix.import-univrm }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} | ||
key: Library-${{ matrix.unity-version }}-${{ matrix.import-vrcsdk }}-${{ matrix.import-dynbone }}-${{ matrix.import-univrm }}-${{ matrix.import-ma }}-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} | ||
restore-keys: | | ||
Library-${{ matrix.unity-version }}-${{ matrix.import-vrcsdk }}-${{ matrix.import-dynbone }}-${{ matrix.import-univrm }}- | ||
Library-${{ matrix.unity-version }}-${{ matrix.import-vrcsdk }}-${{ matrix.import-dynbone }}-${{ matrix.import-univrm }}-${{ matrix.import-ma }}- | ||
- name: Use UniVRM manifest | ||
- name: Prepare base UPM manifest | ||
run: mv Packages/manifest.${{ matrix.unity-version }}.json Packages/manifest.json | ||
|
||
- name: Prepare ProjectVersion | ||
run: mv ProjectSettings/ProjectVersion.${{ matrix.unity-version }}.txt ProjectSettings/ProjectVersion.txt | ||
|
||
- name: Prepare UniVRM manifest | ||
if: matrix.import-univrm | ||
run: mv Packages/manifest-vrm.json Packages/manifest.json | ||
|
||
|
@@ -63,8 +77,15 @@ jobs: | |
run: | | ||
mv Packages/vpm-manifest.${{ matrix.unity-version }}.json Packages/vpm-manifest.json | ||
dotnet tool install --global vrchat.vpm.cli | ||
vpm add repo https://vpm.chocopoi.com/index.json | ||
vpm resolve project | ||
- name: Import ModularAvatar | ||
if: matrix.import-ma | ||
run: | | ||
vpm add repo https://vpm.nadena.dev/vpm.json | ||
vpm add package [email protected] | ||
# DynamicsBones stub | ||
- name: Import DynamicBones stub | ||
if: matrix.import-dynbone | ||
|
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
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
Oops, something went wrong.