v0.9.3
A ready-to-use CI/CD Pipeline for Rust projects.
Attributes
Includes Deno configuration
Repository
Current version released
8 months ago
Dependencies
other
jsr:@std/flags@0.218.2jsr:@std/fmt@0.218.2/colorsjsr:@std/path@0.218.2jsr:@std/testing@0.218.2/assertsjsr:@tsirysndr/env-js@0.1.2jsr:@tsirysndr/fluent-az-pipelines@0.3jsr:@tsirysndr/fluent-circleci@0.3jsr:@tsirysndr/fluent-codepipeline@0.3jsr:@tsirysndr/fluent-gh-actions@0.3jsr:@tsirysndr/fluent-gitlab-ci@0.5npm:graphql-request@6.1.0npm:graphql@16.8.1npm:lodash@4.17.21npm:node-color-log@11.0.2npm:stringify-tree@1.1.1
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();