https://github.com/jcollie/install-zig-buildkite-plugin
Install Zig on your Buildkite agent.
https://github.com/jcollie/install-zig-buildkite-plugin
buildkite-plugin zig
Last synced: 2 days ago
JSON representation
Install Zig on your Buildkite agent.
- Host: GitHub
- URL: https://github.com/jcollie/install-zig-buildkite-plugin
- Owner: jcollie
- Created: 2026-05-01T18:09:33.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-18T00:50:39.000Z (about 1 month ago)
- Last Synced: 2026-05-18T02:47:34.901Z (about 1 month ago)
- Topics: buildkite-plugin, zig
- Language: Zig
- Homepage:
- Size: 18.9 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install Zig on your Buildkite agent
## Example
```yml
steps:
- command: zig env
plugins:
- jcollie/install-zig#v1.1.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:
```shell
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:
```shell
zig build
```
The binary will be available as
This command will run Zig's unit tests:
```shell
zig build tests
```
To build the "release" binaries, run:
```shell
zig build release
```
The binaries will be written to the source tree at
`hooks/pre-command--` 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:
```shell
podman run -it --rm -v "$PWD:/plugin:ro" docker.io/buildkite/plugin-linter --id jcollie/install-zig
```