v0.3.0 · Pre-v1.0.0 early stage ↗

FastCi Dev Docs

Learn how to write high-throughput, cache-sound CI/CD pipelines with FastCi. Whether you are dropping a compiler cache into GitHub Actions, tuning a critical-path DAG for Windows and macOS runners, or grounding an AI coding assistant on exact schemas, everything starts here.

Compiler & Link Cache

Drop FastCi directly into CMake, Ninja, Cargo, Zig, or Swift builds with direct-mode header manifests and zero preprocessor spawns on cache hits.

Configure launchers

DAG Pipelines

Model multi-language builds in fastci.json with critical-path weights, memory-aware scheduling, direct-spawn cmd, and 10-language SIMD dep scanning.

Write fastci.json

AI & Coding Agents

Ground coding assistants on llms.txt, llms-full.txt, and strict JSON Schema so they emit valid manifests and verify every edit deterministically.

Connect AI tools

Build with the FastCi AI Toolkit

Connect your AI coding assistant to FastCi docs, exact fastci.json JSON Schema, and the CLI verification loop. One reference keeps your assistant accurate so it writes cache-sound pipelines instead of guessing keys. See the AI Authoring Guide for anti-hallucination rules.

Add this block to .github/copilot-instructions.md so Copilot generates verified fastci.json manifests and workflows:

## FastCi CI/CD Guidelines
- Authoritative spec: https://seregonwar.github.io/FastCi/llms-full.txt
- Manifest schema: https://seregonwar.github.io/FastCi/schema/fastci.schema.json
- Prefer direct-spawn `"cmd": [...]` over `"shell"`, put lockfiles/build files in `"critical_inputs"`, and declare `"toolchain_cmd"`.
- On Windows CMake builds, use `-G Ninja` with `/Z7` (never `/Zi`) and `seregonwar/FastCi@v0.3.0`.
- Keep Remote CAS read-only on untrusted PRs (`FASTCI_REMOTE_READ_ONLY=1`).
- Always verify edits with: `fastci validate -f fastci.json && fastci plan -f fastci.json`.

Reference the single-file corpus in CLAUDE.md or fetch it directly at the start of a CI optimization session:

# FastCi Pipeline Rules
Fetch https://seregonwar.github.io/FastCi/llms-full.txt before creating or editing `fastci.json` or `.github/workflows/*.yml`.
Valid keys only (see https://seregonwar.github.io/FastCi/schema/fastci.schema.json):
- Use `cmd` (not `command`), `shell` (not `shell_cmd`), `needs` (not `depends_on`), `cache` (not `cacheable`), `workers` (not `concurrency`).
After editing, run `fastci validate -f fastci.json`, `fastci plan -f fastci.json`, and `fastci cache stats --json`.

Add FastCi docs as an indexed Docs URL in Cursor (@Docs → Add new doc) or embed in AGENTS.md for Codex:

Docs index: https://seregonwar.github.io/FastCi/llms.txt
Full reference: https://seregonwar.github.io/FastCi/llms-full.txt
JSON Schema: https://seregonwar.github.io/FastCi/schema/fastci.schema.json

Verification command sequence:
  fastci validate -f fastci.json
  fastci plan -f fastci.json
  fastci run -f fastci.json --dry-run
  fastci doctor --json

Download the clean Markdown reference directly in CI scripts, MCP tools, or custom RAG pipelines:

# Compact documentation index + hard invariants (~4 KB)
curl -fsSL https://seregonwar.github.io/FastCi/llms.txt

# Complete single-file technical reference (~20 KB, zero HTML)
curl -fsSL https://seregonwar.github.io/FastCi/llms-full.txt

Attach "$schema" to any fastci.json for instant VS Code, JetBrains, and automated JSON Schema Draft 2020-12 validation:

{
  "$schema": "https://seregonwar.github.io/FastCi/schema/fastci.schema.json",
  "name": "my-service",
  "verify_inputs": "sample",
  "jobs": [
    {
      "id": "build",
      "cmd": ["cmake", "--build", "build", "--parallel"],
      "toolchain_cmd": ["cc", "--version"],
      "critical_inputs": ["CMakeLists.txt"],
      "scan_deps": ["src/main.c"],
      "include_dirs": ["include"],
      "outputs": ["build/app"],
      "weight": 100
    }
  ]
}

Accelerate builds with FastCi CLI

Drop FastCi into GitHub Actions, CMake / Cargo builds, or a polyglot DAG in minutes. One native binary installs with SHA-256 verification and zero runtime dependencies.

  1. Add seregonwar/FastCi@v0.3.0 after actions/checkout@v4 on Ubuntu, macOS, or Windows runners.
  2. Toggle enable-cmake-launcher or enable-rustc-wrapper; actions/cache@v4 and read-only PR protection wire automatically.
  3. Run fastci stats with if: always() to confirm hit rate and catch uncacheable flags (like MSVC /Zi).
  1. Install fastci locally and confirm SIMD hardware support with fastci doctor.
  2. Export CMAKE_C/CXX_COMPILER_LAUNCHER=fastci and CMAKE_C/CXX_LINKER_LAUNCHER=fastci.
  3. Configure with -G Ninja (and /Z7 on MSVC) and run fastci stats after building.
  1. Install fastci and point FASTCI_CACHE_DIR to a fast local volume.
  2. Export RUSTC_WRAPPER=fastci and keep FASTCI_VERIFY_INPUTS=sample.
  3. Run cargo build --release and inspect hits with fastci cache stats --json.
  1. Scaffold a starter pipeline with fastci init or write fastci.json using the JSON Schema.
  2. Validate syntax and critical-path order with fastci validate and fastci plan.
  3. Run fastci run --trace trace.json --report report.json and profile in Perfetto UI.
curl -fsSL https://raw.githubusercontent.com/seregonwar/FastCi/main/scripts/install.sh | sh
# Linux memory-safe Fil-C bundle: append `-- --variant filc`
irm https://raw.githubusercontent.com/seregonwar/FastCi/main/scripts/install.ps1 | iex
- uses: seregonwar/FastCi@v0.3.0
  with:
    enable-cmake-launcher: true
    verify-inputs: sample
fastci doctor
fastci init && fastci validate -f fastci.json && fastci plan -f fastci.json
fastci stats

Measured build performance

Continuously benchmarked on GitHub-hosted runners and published to bench-data. Especially engineered to cut 2× Windows and 10× macOS runner billing minutes.

Workload (Warm Rebuild) FastCi ccache sccache
Linux x86_64 · CMake + Ninja (GCC) 99.8 ms 114.2 ms 148.0 ms
Windows x64 · CMake + Ninja (MSVC) 324.7 ms 454.8 ms 1434 ms
Cargo / Rust · Linux x86_64 81.0 ms — 129.6 ms
Linux Fil-C · Memory-safe C + SaRCAsm 127.5 ms — —
FastCi real builds benchmark comparison (light) FastCi real builds benchmark comparison (dark)

Resources & project links

Source code, release checksums, machine-readable documentation, licensing, and sponsorship.