Skip to content

Windows Executor targeting Android platform #75

Description

@rimig

Orb version

Execution environment

  • Executor: unity/windows-2022
  • Target platform: android
  • Unity Editor version: 2022.3.4f1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions