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 .
Jobs
Job | Description |
---|---|
build | build your project |
test | Run your tests |
Programmatic usage
You can also use this pipeline programmatically:
import Client, { connect } from "https://sdk.fluentci.io/v0.1.9/mod.ts";
import { build, test } from "https://pkg.fluentci.io/rust_pipeline@v0.5.2/mod.ts";
function pipeline(src = ".") {
connect(async (client: Client) => {
await test(client, src);
await build(client, src);
});
}
pipeline();