Skip to content

Add theme color binders for various renderers #30

Add theme color binders for various renderers

Add theme color binders for various renderers #30

name: test-pull-request
on:
pull_request:
branches: [main, dev]
types: [opened, synchronize, reopened]
jobs:
setup:
runs-on: ubuntu-latest
outputs:
UnityProjectPath: ${{ steps.vars.outputs.UnityProjectPath }}
UnityPackageRoot: ${{ steps.vars.outputs.UnityPackageRoot }}
InstallerProjectPath: ${{ steps.vars.outputs.InstallerProjectPath }}
InstallerFileName: ${{ steps.vars.outputs.InstallerFileName }}
InstallerExportMethod: ${{ steps.vars.outputs.InstallerExportMethod }}
InstallerUnityVersion: ${{ steps.vars.outputs.InstallerUnityVersion }}
steps:
- id: vars
run: |
echo "UnityProjectPath=./Unity-Theme" >> $GITHUB_OUTPUT
echo "UnityPackageRoot=./Assets/root" >> $GITHUB_OUTPUT
echo "InstallerProjectPath=./Installer" >> $GITHUB_OUTPUT
echo "InstallerFileName=Unity-Theme-Installer" >> $GITHUB_OUTPUT
echo "InstallerExportMethod=com.IvanMurzak.Unity.Theme.Installer.PackageExporter.ExportPackage" >> $GITHUB_OUTPUT
echo "InstallerUnityVersion=2022.3.57f1" >> $GITHUB_OUTPUT
# --- EDIT MODE ---
test-unity-2022-3-57f1-editmode:
needs: setup
uses: ./.github/workflows/test_unity_plugin.yml
with:
projectPath: ${{ needs.setup.outputs.UnityProjectPath }}
unityVersion: '2022.3.57f1'
testMode: 'editmode'
secrets: inherit
test-unity-2023-1-20f1-editmode:
needs: setup
uses: ./.github/workflows/test_unity_plugin.yml
with:
projectPath: ${{ needs.setup.outputs.UnityProjectPath }}
unityVersion: '2023.1.20f1'
testMode: 'editmode'
secrets: inherit
test-unity-2023-2-20f1-editmode:
needs: setup
uses: ./.github/workflows/test_unity_plugin.yml
with:
projectPath: ${{ needs.setup.outputs.UnityProjectPath }}
unityVersion: '2023.2.20f1'
testMode: 'editmode'
secrets: inherit
test-unity-6000-0-37f1-editmode:
needs: setup
uses: ./.github/workflows/test_unity_plugin.yml
with:
projectPath: ${{ needs.setup.outputs.UnityProjectPath }}
unityVersion: '6000.0.37f1'
testMode: 'editmode'
secrets: inherit
# --- PLAY MODE ---
test-unity-2022-3-57f1-playmode:
needs: setup
uses: ./.github/workflows/test_unity_plugin.yml
with:
projectPath: ${{ needs.setup.outputs.UnityProjectPath }}
unityVersion: '2022.3.57f1'
testMode: 'playmode'
secrets: inherit
test-unity-2023-1-20f1-playmode:
needs: setup
uses: ./.github/workflows/test_unity_plugin.yml
with:
projectPath: ${{ needs.setup.outputs.UnityProjectPath }}
unityVersion: '2023.1.20f1'
testMode: 'playmode'
secrets: inherit
test-unity-2023-2-20f1-playmode:
needs: setup
uses: ./.github/workflows/test_unity_plugin.yml
with:
projectPath: ${{ needs.setup.outputs.UnityProjectPath }}
unityVersion: '2023.2.20f1'
testMode: 'playmode'
secrets: inherit
test-unity-6000-0-37f1-playmode:
needs: setup
uses: ./.github/workflows/test_unity_plugin.yml
with:
projectPath: ${{ needs.setup.outputs.UnityProjectPath }}
unityVersion: '6000.0.37f1'
testMode: 'playmode'
secrets: inherit
# --- STANDALONE ---
test-unity-2022-3-57f1-standalone:
needs: setup
uses: ./.github/workflows/test_unity_plugin.yml
with:
projectPath: ${{ needs.setup.outputs.UnityProjectPath }}
unityVersion: '2022.3.57f1'
testMode: 'standalone'
secrets: inherit
test-unity-2023-1-20f1-standalone:
needs: setup
uses: ./.github/workflows/test_unity_plugin.yml
with:
projectPath: ${{ needs.setup.outputs.UnityProjectPath }}
unityVersion: '2023.1.20f1'
testMode: 'standalone'
secrets: inherit
test-unity-2023-2-20f1-standalone:
needs: setup
uses: ./.github/workflows/test_unity_plugin.yml
with:
projectPath: ${{ needs.setup.outputs.UnityProjectPath }}
unityVersion: '2023.2.20f1'
testMode: 'standalone'
secrets: inherit
test-unity-6000-0-37f1-standalone:
needs: setup
uses: ./.github/workflows/test_unity_plugin.yml
with:
projectPath: ${{ needs.setup.outputs.UnityProjectPath }}
unityVersion: '6000.0.37f1'
testMode: 'standalone'
secrets: inherit
# -------------------