Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build multiple build variants in Microsoft AppCenter

I want to find out if any one has been able to build all the build variants of an Android application on Microsoft App Center?

When setting up the build process on App Center, you can only select one build type?

like image 642
Stillie Avatar asked Jan 10 '19 09:01

Stillie


2 Answers

The only way around this was to create a new "App" in appcenter, but select the other build variants. Just needed to name the application appropriately.

I would suggest turning off build on push/commit as this will eat through your build time and only build manually as you need the other build variants to be tested

like image 190
Stillie Avatar answered Oct 17 '22 14:10

Stillie


Try this:

  1. Create different branches for your environments. Let's say you have staging branch for instance.
  2. Next, you add a GitHub action to sync staging with master. You can make use of this GitHub Action to do that easily.
  3. Finally configure the staging branch on AppCenter with different config as you wish.

AppCenter is also tracking this feature request here. Hopefully this will be available soon.

like image 1
Justin Avatar answered Oct 17 '22 13:10

Justin