Skip to main content
Home

Built and signed on GitHub Actions

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

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
76%
Published
a year 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

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fluentci/zig

Import symbol

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

Import directly with a jsr specifier

import * as zig from "jsr:@fluentci/zig";

Add Package

pnpm i jsr:@fluentci/zig
or (using pnpm 10.8 or older)
pnpm dlx jsr add @fluentci/zig

Import symbol

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

Add Package

yarn add jsr:@fluentci/zig
or (using Yarn 4.8 or older)
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";