Skip to content

Commit

Permalink
ci: update Build Unity for RuntimeUnitTestToolkit section
Browse files Browse the repository at this point in the history
  • Loading branch information
guitarrapc committed Jul 24, 2024
1 parent 73a3249 commit e51485e
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/build-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,24 @@ jobs:

- uses: actions/checkout@v4

# todo: prepare runtime unit test
# Execute scripts: RuntimeUnitTestToolkit
# - name: Build UnitTest(Linux64, mono)
# run: /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod UnitTestBuilder.BuildUnitTest /headless /ScriptBackend mono /BuildTarget StandaloneLinux64
# working-directory: src/ZLogger.Unity
# # execute Unittest build
# # /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod UnitTestBuilder.BuildUnitTest /headless /ScriptBackend mono /BuildTarget StandaloneLinux64
# - name: Build UnitTest
# uses: Cysharp/Actions/.github/actions/unity-builder@main
# env:
# UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
# UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
# UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
# with:
# projectPath: src/MagicOnion.Client.Unity
# unityVersion: ${{ matrix.unity }}
# targetPlatform: StandaloneLinux64
# buildMethod: UnitTestBuilder.BuildUnitTest
# customParameters: "/headless /ScriptBackend IL2CPP"
# - name: Check UnitTest file is generated
# run: ls -lR ./src/MagicOnion.Client.Unity/bin/UnitTest
# - name: Execute UnitTest
# run: ./src/ZLogger.Unity/bin/UnitTest/StandaloneLinux64_Mono2x/test
# run: ./src/MagicOnion.Client.Unity/bin/UnitTest/StandaloneLinux64_IL2CPP/test

# execute scripts/Export Package
# /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod PackageExporter.Export
Expand Down

0 comments on commit e51485e

Please sign in to comment.