Zig
Running the pre-built zig pipeline directly
Run the following command to run the pre-built Zig pipeline without having to initialize a project:
fluentci run zig_pipeline
Add Zig Pipeline to your project
Run the following command to add Zig pipeline to your project:
fluentci init -t zig
This will create a .fluentci
directory in your project, feel free to customize the pipeline for your needs.
You can then run the following command to start the pipeline:
fluentci run .
Environment variables
Variable | Description |
---|---|
ZIG_VERSION | The version of Zig to use. Defaults to 0.10.1 |
Jobs
Job | Description |
---|---|
build | build your project |
test | Run your tests |
Programmatic usage
You can also use this pipeline programmatically:
import { test, build } from "https://pkg.fluentci.io/[email protected]/mod.ts";
await test();
await build();