Rust Pipeline

deno module deno compatibility

A ready-to-use CI/CD Pipeline for your Rust projects.

🚀 Usage

Run the following command in your Rust Project:

dagger run fluentci rust_pipeline

Or if you want to run specific jobs:

dagger run fluentci rust_pipeline test build

if you want to use it as a template:

fluentci init -t rust

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

dagger run fluentci .

Jobs

Job Description
build build your project
test Run your tests

Programmatic usage

You can also use this pipeline programmatically:

import Client, { connect } from "@dagger.io/dagger";
import { Dagger } from "https://deno.land/x/rust_pipeline/mod.ts";

const { build, test } = Dagger;

function pipeline(src = ".") {
  connect(async (client: Client) => {
    await test(client, src);
    await build(client, src);
  });
}

pipeline();