Skip to main content

🧩 A ready-to-use CI/CD Pipeline for Zig projects

Works with
This package works with Bun
This package works with Node.js
This package works with Deno
JSR Score
76%
Published
3 months ago (0.5.0)

Zig Pipeline

fluentci pipeline deno compatibility dagger-min-version ci

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
View transparency log

Add Package

deno add @fluentci/zig

Import symbol

import * as mod from "@fluentci/zig";

Add Package

npx jsr add @fluentci/zig

Import symbol

import * as mod from "@fluentci/zig";

Add Package

yarn dlx jsr add @fluentci/zig

Import symbol

import * as mod from "@fluentci/zig";

Add Package

pnpm dlx jsr add @fluentci/zig

Import symbol

import * as mod from "@fluentci/zig";

Add Package

bunx jsr add @fluentci/zig

Import symbol

import * as mod from "@fluentci/zig";