Can I change the build platform in circle.yml?

Does anybody know if it’s possible? I’ve been looking and seems to not be possible.

I have an electron app and I just can build it for mac on a mac environment. The problem is that the platform only can be changed on the CircleCI project configuration, this way I would be forced to create other repository just to build for mac - what I am trying to avoid.

To make my intention clear let me give and example of what I want:

machine:
branch: dev-mac-*:
env: osx
branch: dev
env: linux

Someone know what this is not possible and if would be a bad practice?

Sadly, this is not possible today. But this is one of the features that we have in mind for our new platform.

1 Like