Install the Android NDK on your Buildkite agent
  • Zig 94.8%
  • Nix 3.8%
  • Shell 1.4%
Find a file
2026-05-07 22:43:29 -05:00
hooks first 2026-05-07 22:43:29 -05:00
LICENSES first 2026-05-07 22:43:29 -05:00
src first 2026-05-07 22:43:29 -05:00
.gitattributes first 2026-05-07 22:43:29 -05:00
.gitignore first 2026-05-07 22:43:29 -05:00
build.zig first 2026-05-07 22:43:29 -05:00
build.zig.zon first 2026-05-07 22:43:29 -05:00
flake.lock first 2026-05-07 22:43:29 -05:00
flake.nix first 2026-05-07 22:43:29 -05:00
plugin.yml first 2026-05-07 22:43:29 -05:00
README.md first 2026-05-07 22:43:29 -05:00
REUSE.toml first 2026-05-07 22:43:29 -05:00

Install Android NDK on your Buildkite agent

Example

steps:
  - command:
    plugins:
      - jcollie/install-ndk#v1.0.0

Configuration

Developing

Building the binaries

To build the binaries, you'll need Zig 0.16.0 installed. There is a Nix flake that can be used to set up a development environment:

nix develop

Zig can also be installed in whatever other means you like. There are no external dependencies that won't be fetched by Zig during the build process.

To build a debug version of the binary for your local system, run:

zig build

The binary will be available as

This command will run Zig's unit tests:

zig build tests

To build the "release" binaries, run:

zig build release

The binaries will be written to the source tree at hooks/pre-command-<arch>-<os> and should be committed to the repo. This command should be run before any commit to ensure that the binaries are up-to-date.

BuildKite tests

To run the tests:

podman run -it --rm -v "$PWD:/plugin:ro" docker.io/buildkite/plugin-linter --id jcollie/install-ndk