Getting Started & Architecture

Install FastCi, pick the right acceleration tier for your repository, and see why a single native C11 + Assembly binary cuts build latency across Linux, macOS, and Windows.

View llms-full.txt JSON Schema
Early Stage Notice (Pre-v1.0.0)

FastCi is in active development (current release v0.3.0). CLI flags, manifest keys, and cache formats may still evolve before v1.0.0. Evaluate in staging or non-critical CI workflows before production rollouts.

1. Choose Your Acceleration Tier

FastCi scales smoothly without forcing you to rewrite your existing build system:

TierIntegration EffortWhat You Get
Tier 1: Drop-in Compiler & Link Cache 2 lines in GitHub Actions or CMake/Cargo Direct-mode C/C++/ASM/Rust/Zig/Swift caching + link caching with CMAKE_*_LAUNCHER or RUSTC_WRAPPER.
Tier 2: DAG Pipeline Runner One fastci.json file Critical-path parallel scheduler, memory-aware slot reservation, incremental CAS per job, matrix expansion, Chrome trace profiling.
Tier 3: Shared Remote CAS & Distributed Pool Self-hosted remote-serve / dist-serve Team-wide HTTP/1.1 keep-alive CAS sharing + sandboxed distributed compilation workers (bwrap + RLIMIT).

2. Install FastCi

Release installers verify checksums automatically against SHA256SUMS:

curl -fsSL https://raw.githubusercontent.com/seregonwar/FastCi/main/scripts/install.sh | sh

# Linux memory-safe Fil-C bundle:
curl -fsSL https://raw.githubusercontent.com/seregonwar/FastCi/main/scripts/install.sh | sh -s -- --variant filc
irm https://raw.githubusercontent.com/seregonwar/FastCi/main/scripts/install.ps1 | iex

Verify the installation and inspect detected CPU SIMD features (AVX2 / SSE4.2 / NEON / Fil-C runtime):

fastci version
fastci doctor

3. GitHub Actions Drop-In (2 Minutes)

The composite action seregonwar/FastCi@v0.3.0 downloads the verified platform binary, persists the CAS via actions/cache@v4, wires compiler/linker launchers, and sets read-only remote cache protection on pull requests:

name: CI
on: [push, pull_request]

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v4

      - uses: seregonwar/FastCi@v0.3.0
        with:
          enable-cmake-launcher: true
          verify-inputs: sample
          cache-key-prefix: fastci-v1

      - name: Configure
        run: >
          cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
          -DCMAKE_C_FLAGS_RELEASE="${{ runner.os == 'Windows' && '/O2 /Z7' || '-O2' }}"

      - name: Build
        run: cmake --build build --parallel

      - name: Cache report
        if: always()
        run: fastci stats
Why /Z7 instead of /Zi on Windows?

MSVC's /Zi writes to a shared vc140.pdb through mspdbsrv.exe, which forces every compiler cache to bypass caching. Switching to /Z7 embeds debug info inside each .obj and unlocks 100% cache hit rates on Windows runners.

4. Your First fastci.json Pipeline

Generate a starter manifest with fastci init, validate it, inspect the critical-path execution order, and execute with Chrome trace profiling:

fastci init
fastci validate -f fastci.json
fastci plan -f fastci.json
fastci run -f fastci.json --trace trace.json --report report.json

5. Why FastCi Is Fast Under the Hood