IT lexicon › Programming › Staged Build

Staged Build

Programming På svenska → Updated: 2026-11-13

A build process split into multiple phases: source is preprocessed, then compiled, then linked, then tested — each stage builds on the previous one's output.

A staged build lets you stop and debug between phases. If the preprocessor fails, there's no need to compile. If linking fails, you don't need to test again. Stages can also be cached separately: if the source hasn't changed, preprocessing isn't needed, only the linking.

Modern CI systems are built on staged architecture: build → test → lint → security-scan → package → deploy. Each stage can run on different machines or be skipped entirely in certain cases (pull requests are tested, but developer branches might only be linted). It saves time and resources by being selective.

← Back to the lexicon