game-ci / unity-orb

Build and test Unity projects for several platforms using CircleCI.
https://circleci.com/developer/orbs/orb/game-ci/unity
MIT License
7 stars 12 forks source link

Windows Executor targeting Android platform #75

Open rimig opened 3 weeks ago

rimig commented 3 weeks ago

Orb version

Execution environment

Bug description

I am attempting to build my project on a Windows executor, targeting Android to build an apk. I need to build on Windows because of some 3rd party dependencies that need to be built on Windows.

It appears there is an image supporting what I need: editor-windows-2022.3.4f1-android-3.1.0

Seen here: https://game.ci/docs/docker/versions/

However, this doesn't appear to be a supported configuration (there is no android option available here): https://github.com/game-ci/unity-orb/blob/main/src/executors/windows-2022.yml#L12

So this is the error seen in Circle Error calling executor: 'unity/windows-2022' Type error for argument target_platform: expected type: enum ("appletv" "base" "universal-windows-platform" "windows-il2cpp"), actual value: "android" (type string)

How to reproduce

Use this configuration

executor:
      name: unity/windows-2022
      editor_version: 2022.3.4f1
      target_platform: android

Expected behavior

I would expect it to use that image, why is that not supported?

Additional details