defold / extender

Native extension build server
https://defold.com/manuals/extensions/
MIT License
42 stars 17 forks source link

Cache extension build results #232

Open britzl opened 2 years ago

britzl commented 2 years ago

To speed up CI builds (which are usually run from a clean environment) where extensions rarely change it will help if extension outputs (library+resources) are cached on the extender server.

britzl commented 1 year ago

Add metrics first to measure before and after this change.

This will reduce build time. The downside is that it will increase storage requirements (and by extension costs).

JCash commented 1 year ago

Metrics ticket: https://github.com/defold/extender/issues/289

JCash commented 1 year ago

Perhaps do it in these steps:

  1. full upload
  2. extensions
  3. libraries
  4. jars
AGulev commented 10 months ago

Also, it makes sense to take into account situations when the only change is changes in manifests. For example, CI builds game and increase version number in game.project. This version number ends up in AndroidManifest.xml. And this is the only change from the previous build.