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 launchersDAG Pipelines
Model multi-language builds in fastci.json with critical-path weights, memory-aware scheduling, direct-spawn cmd, and 10-language SIMD dep scanning.
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.
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.
- Add
seregonwar/FastCi@v0.3.0afteractions/checkout@v4on Ubuntu, macOS, or Windows runners. - Toggle
enable-cmake-launcherorenable-rustc-wrapper;actions/cache@v4and read-only PR protection wire automatically. - Run
fastci statswithif: always()to confirm hit rate and catch uncacheable flags (like MSVC/Zi).
- Install
fastcilocally and confirm SIMD hardware support withfastci doctor. - Export
CMAKE_C/CXX_COMPILER_LAUNCHER=fastciandCMAKE_C/CXX_LINKER_LAUNCHER=fastci. - Configure with
-G Ninja(and/Z7on MSVC) and runfastci statsafter building.
- Install
fastciand pointFASTCI_CACHE_DIRto a fast local volume. - Export
RUSTC_WRAPPER=fastciand keepFASTCI_VERIFY_INPUTS=sample. - Run
cargo build --releaseand inspect hits withfastci cache stats --json.
- Scaffold a starter pipeline with
fastci initor writefastci.jsonusing the JSON Schema. - Validate syntax and critical-path order with
fastci validateandfastci plan. - Run
fastci run --trace trace.json --report report.jsonand 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 | — | — |
Resources & project links
Source code, release checksums, machine-readable documentation, licensing, and sponsorship.