Reduce build time for Android App in Release #24689
Unanswered
FlavioGoncalves-Cayas
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@FlavioGoncalves-Cayas can you "diff" the two apps? Something like:
I imagine what you are describing is possible but would require lots of MSBuild knowledge to make it work. Depending on what the diff is; I'm not sure I would recommend it. Would you be better off fanning out your build into multiple lanes in parallel? Azure DevOps can do this pretty easily, for example ours looks like this: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
for one of our customers I am developing an app that will be whitelabeled into many visually different apps with slightly different configuration with the same codebase during build-time.
Each app has it's own Pipeline in Azure DevOps for iOS and Android, where the build app step alone for Android takes about 10-15 minutes. I assume most of the time is spent during conversion from .dll to .so files. Now take that times >20 (apps) this means the build process for all apps takes several hours.
Is there any way to reduce that time since the codebase itself is mostly the same - only some configuration files, .csproj properties, resources etc. are switched out before building?
Would it be beneficial to put most of the shared code in it's own NuGet Package/DLL?
Or is there some way to build .so files in advance in a seperate pipeline and feed into the build for the multiple apps?
Any ideas?
Tagging @jonathanpeppers @jpobst for visibility.
Beta Was this translation helpful? Give feedback.
All reactions