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
WORKSPACE file to your project to mark it as a Bazel workspace.
- Add a
BUILD file to your project to tell Bazel how to build it.
- Add the Bazel build target(s) to your Buildkite Pipeline.
- The Bazel C++ tutorial goes into more detail about how to configure more complex Bazel builds, covering multiple build targets and multiple packages.
- The Bazel external dependencies docs show you how to build other local and remote repositories.