harmont-cli 0.0.6

Command-line client for the Harmont CI platform.
Documentation
"""CMake CI pipeline."""
from __future__ import annotations

import harmont as hm


@hm.pipeline(
    "ci",
    env={"CI": "true"},
    default_image="ubuntu:24.04",
    triggers=[hm.push(branch="main")],
)
def ci() -> tuple[hm.Step, ...]:
    project = hm.cmake(path=".")
    return (
        project.test(),
        project.lint(),
        project.fmt(),
    )