Skip to main content

Clojure

Running the pre-built Clojure pipeline directly

Run the following command to run the pre-built Clojure pipeline without having to initialize a project:

fluentci run clojure test

Add Clojure Pipeline to your project

Run the following command to add Clojure pipeline to your project:

fluentci init -t clojure

This will create a .fluentci directory in your project, feel free to customize the pipeline for your needs. You can then run the following command to start the pipeline:

fluentci run .

Jobs

JobDescription
testRun your tests
uberjarBuild an uberjar

Programmatic usage

You can also use this pipeline programmatically:

import { test, uberjar } from "jsr:@fluentci/clojure";

await test();
await uberjar();

CI/CD pipeline integrations

The following examples show how to integrate FluentCI with popular CI providers to build and test Clojure applications:

ci.yml
name: ci
on:
push:
branches:
- main
jobs:
tasks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v5
- name: tests
run: fluentci run --wasm clojure test
- name: build
run: fluentci run --wasm clojure uberjar