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 Rust Projects
Rust Pipeline
A ready-to-use CI/CD Pipeline for your Rust projects.
🚀 Usage
Run the following command in your Rust Project:
fluentci run rust_pipeline
Or if you want to run specific jobs:
fluentci run 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:
fluentci run .
🧩 Dagger Module
Use as a Dagger Module:
dagger install github.com/fluent-ci-templates/rust-pipeline@main
Call a function from the module:
dagger call clippy --src . dagger call test --src . dagger call llvm-cov --src . dagger call build --src .
✨ Jobs
Job | Description |
---|---|
clippy | Run Rust Clippy on your project |
build | Build your project |
test | Run your tests |
llvm_cov | Generate llvm coverage report |
build( src: string | Directory | undefined = ".", packageName?: string, target = "x86_64-unknown-linux-gnu", options: string[] = [] ): Promise<Directory | string> clippy( src: string | Directory | undefined = "." ): Promise<File | string> test( src: string | Directory | undefined = ".", options: string[] = [] ): Promise<string> llvmCov( src: string | Directory | undefined = "." ): Promise<File | string>
👨💻 Programmatic usage
You can also use this pipeline programmatically:
import { build, test } from "jsr:@fluentci/rust"; await test(); await build();
Built and signed on
GitHub Actions
Add Package
deno add jsr:@fluentci/rust
Import symbol
import * as rust from "@fluentci/rust";
Import directly with a jsr specifier
import * as rust from "jsr:@fluentci/rust";
Add Package
pnpm i jsr:@fluentci/rust
pnpm dlx jsr add @fluentci/rust
Import symbol
import * as rust from "@fluentci/rust";
Add Package
yarn add jsr:@fluentci/rust
yarn dlx jsr add @fluentci/rust
Import symbol
import * as rust from "@fluentci/rust";
Add Package
vlt install jsr:@fluentci/rust
Import symbol
import * as rust from "@fluentci/rust";
Add Package
npx jsr add @fluentci/rust
Import symbol
import * as rust from "@fluentci/rust";
Add Package
bunx jsr add @fluentci/rust
Import symbol
import * as rust from "@fluentci/rust";