Using Bazel on Buildkite
Bazel is an open-source build and test tool similar to Make, Maven, and Gradle. Bazel supports large codebases across multiple repositories, and large numbers of users.
- Install Bazel on one or more Buildkite Agents.
- Add an empty
WORKSPACEfile to your project to mark it as a Bazel workspace.
- Add a
BUILDfile to your project to tell Bazel how to build it.
- Add the Bazel build target(s) to your Buildkite Pipeline.
We've made a short Bazel example which you can run and customize.