Description of the feature request
Out of the box support for Bazel based projects ( https://bazel.build/ ).
Bazel is used by large companies like Google, Line. Specifically Bazel has built in advanced caching, e.g. an option to use distributed build cache.
A few highlights:
Speed up your builds and tests. Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
Bazel provides a seamless and consistent build interface for different languages in a single system.
Bazel is the common build tool throughout Pinterest and has been instrumental in achieving fast, reproducible builds across our programming languages and platforms.
By switching to bazel we not only eliminated the overhead of maintaining multiple build systems, but also massively sped up our build and testing infrastructure.
Use case / for what or how I would use it
I’d imagine this to work similar to our
fastlane support, so that if we detect the project uses
bazel as the build tool a suitable workflow would be generated that runs
bazel instead of the bitrise built in Xcode/Android steps.
See e.g. https://docs.bazel.build/versions/master/tutorial/android-app.html
To run the build:
bazel build //src/main:app
Or to run it:
bazel mobile-install //src/main:app