Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
🧩 A ready-to-use CI/CD Pipeline for Zig projects
Zig Pipeline
A ready-to-use CI/CD Pipeline for your Zig projects.
🚀 Usage
Run the following command in your project:
fluentci run zig_pipeline
Or, if you want to use it as a template:
fluentci init -t zig
This will create a .fluentci
folder in your project.
Now you can run the pipeline with:
fluentci run .
🧩 Dagger Module
Use as a Dagger module:
dagger install github.com/fluent-ci-templates/zig-pipeline@main
Call a function from the module:
dagger -m github.com/fluent-ci-templates/zig-pipeline call \ test --src . dagger -m github.com/fluent-ci-templates/zig-pipeline call \ build --src .
🛠️ Environment variables
Variable | Description |
---|---|
ZIG_VERSION |
The version of Zig to use. Defaults to 0.10.1 |
✨ Jobs
Job | Description |
---|---|
test | Run tests |
build | Build project |
test( src: Directory | string = ".", version?: string ): Promise<string> build( src: Directory | string = ".", version?: string ): Promise<Directory | string>
👨💻 Programmatic usage
You can also use this pipeline programmatically:
import { test, build } from "jsr:@fluentci/zig"; await test(); await build();
Built and signed on
GitHub Actions
Add Package
deno add jsr:@fluentci/zig
Import symbol
import * as zig from "@fluentci/zig";
Import directly with a jsr specifier
import * as zig from "jsr:@fluentci/zig";
Add Package
pnpm i jsr:@fluentci/zig
pnpm dlx jsr add @fluentci/zig
Import symbol
import * as zig from "@fluentci/zig";
Add Package
yarn add jsr:@fluentci/zig
yarn dlx jsr add @fluentci/zig
Import symbol
import * as zig from "@fluentci/zig";
Add Package
npx jsr add @fluentci/zig
Import symbol
import * as zig from "@fluentci/zig";
Add Package
bunx jsr add @fluentci/zig
Import symbol
import * as zig from "@fluentci/zig";