Skip to Main Content

How to set up a CI/CD pipeline for PCB design and schematic projects

If your team still tracks revisions by copying folders and numbering them, review probably means walking an Excel checklist by hand. A CI/CD pipeline for PCB design runs those checks automatically on every change and sends manufacturing outputs only from an approved revision. This guide gives PCB design leads and hardware DevOps owners a stage model and six setup steps, ending in a readiness checklist.

Written by:
Allspice team
|
Updated on:
December 3, 2026

Key takeaways

Hardware CI/CD runs automated checks, such as ERC, DRC and BOM validation, on every commit to a schematic or PCB repository. It then produces versioned manufacturing outputs from an approved, tagged revision.

  • One project per repository, with review rules that decide what reaches main.
  • Checks run on every commit, so issues surface before the design review starts.
  • Releases come only from approved, tagged revisions.

In Allspice, which keeps native ECAD schematics, PCB layouts and review history in a shared repository, these checks run as Automations. The rest of this guide stays tool agnostic, so the stages apply whichever ECAD tool your team uses.

‍

What CI/CD means for hardware

A CI/CD pipeline for PCB design runs ERC, DRC and BOM checks on native ECAD files whenever a commit lands or a design review opens. It archives the outputs, so issues surface before review and manufacturing gets files from a known revision. In Allspice, these workflows are called Automations, and they run on the native ECAD files kept in your Allspice repository.

Common triggers in a hardware pipeline include a commit, a branch push, a design review opening, a review closing and a release tag. Each job does rule checks, BOM checks, diffs or output generation. It leaves behind reports, a BOM diff, Gerbers or a review PDF that anyone can open later.

Some software habits carry over cleanly, such as version control, review before merge and automated checks on every change. Others need translation, because ECAD files are binary and a line-by-line text diff tells a reviewer nothing. There are also no unit tests for a buck converter.

In hardware, a "build" is an output package: fabrication files, drill data, a pick-and-place file and a schematic PDF generated from one revision. The checks that stand in for tests are ERC, DRC and BOM rules. They catch an unconnected enable pin on U11A or a clearance violation next to R148 before anyone signs off.

Google Cloud's DORA 2025 research findings come from software delivery, where stability depends on "strong automated testing, mature version control practices, and fast feedback loops." A board pipeline has to supply the same conditions for binary design files. For how those practices map onto each phase of a product, see our piece on CI/CD across the hardware lifecycle.

‍

What a hardware pipeline looks like

Each stage in a CI/CD pipeline for PCB design has a trigger, a job and an output that a specific person needs. The table treats design review and release as stages, since that is where a change becomes something manufacturing can build.

Stage Trigger What runs Output Who uses it
Commit and branch Engineer pushes a change to a branch Revision control records the native ECAD source files Versioned history for the project Every engineer on the project
ERC and DRC Every commit Electrical and design rule checks against the project rules ERC and DRC reports Schematic and layout engineers
BOM validation Every commit or a design review opening MPN completeness and BOM‑versus‑schematic comparison Validated BOM and BOM diff Procurement and component engineers
Visual diff and review Design review opens Visual diff of schematic, layout and BOM Visual diffs and review comments Reviewers
Manufacturing outputs Approved change or release candidate Your ECAD tool’s output jobs generate Gerber, drill, pick‑and‑place, schematic PDF and STEP files Zipped Gerber package and Gerber diff report Manufacturing and the contract manufacturer
Release tagging Design review approved and closed Tag the revision, archive outputs, generate the review PDF Release with outputs, BOM and review record Manufacturing, firmware and mechanical teams

Read the last column as a delivery list. Layout engineers get DRC reports, procurement gets a validated BOM and reviewers get visual diffs. Manufacturing gets the zipped Gerber package, and firmware and mechanical teams pull the ECAD-exported schematic PDF and STEP file from that revision.

That shared revision is the point of the whole table. Say firmware writes drivers against Rev C while the fab builds Rev D. The mismatch shows up at bring-up, long after review could have caught it.

Step-by-step setup of a CI/CD pipeline for PCB design

The six steps below run in order, and each one depends on the step before it. Start with one active project instead of the whole library. Copy the setup to other projects once the first one ships a release through it.

Step 1: Put the design in a repository, one project per repo

Commit the native ECAD source files rather than PDFs or exported netlists. Diffs, checks and outputs all need the source, and an export only captures one moment of the design.

Keep one project per repository so history, design reviews and releases stay scoped to a single board. Track sources and ignore generated outputs, because the pipeline rebuilds Gerbers and reports from each revision anyway.

This step replaces folder copies with names like Rev_C_final2 and Rev_C_final_JS, where nobody is sure which one went to fab. Allspice handles this layer with revision control built for hardware, keeping native ECAD schematics, PCB layouts, documentation and review history in a shared repository. Our comparison of ECAD version control approaches covers what schematic history needs beyond file storage.

Step 2: Define branch and review rules

With the project in a repository, decide how changes reach main, and protect main so it only changes through a reviewed merge. Engineers work on separate branches, and in Allspice you start a design review, bring reviewers in and merge the changes back.

Set required reviewers by role, such as a layout lead for routing changes and a component engineer for any BOM edit. Make passing checks a condition for approval. Write that rule down so every reviewer enforces it the same way.

The written rule carries more weight than any tool setting. A design review with its check results attached tells the approver exactly what is still open, and the approver can decline until it is resolved.

Step 3: Add automated ERC and DRC on every commit

Those check results come from this step. Run ERC and DRC automatically on every commit so electrical and design rule issues get flagged before review. Allspice Automations run ERC and DRC automatically, so issues get flagged before they reach review.

Keep the rule files in the repository with the project. When a clearance rule changes for a new fab partner, the change gets reviewed and versioned like any other edit. Older revisions still check against the rules they were designed to.

Decide per rule whether a violation fails the job or only flags it. An unconnected power pin on the 3.3 V rail should fail. A silkscreen overlap might only flag for the layout engineer to judge.

Step 4: Add BOM checks

ERC and DRC say nothing about whether the parts can be bought. BOM errors go straight to procurement and the contract manufacturer, so the BOM needs its own checks.

Start with manufacturer part number (MPN) completeness. Allspice's solutions team built a BOM Automation that verifies every component has an MPN. A blank field on C47 then gets caught automatically before procurement or fabrication.

Next, compare the BOM against the schematic. One industrial manufacturer keeps its BOM in Excel as the source of truth, and an Automation compares it against the schematic. It posts a BOM diff to every design review, so a changed 10 µF value shows up while the change is still open.

Lifecycle status is an optional extra check. Our walkthrough of automated end-of-life BOM checks shows how to flag obsolete parts before they reach a release.

That check matters for sourcing as well as availability. In the ERAI 2025 annual report, obsolete parts made up 60.02% of reported suspect parts. ERAI also found that "24% of Suspect Counterfeit parts passed electrical testing and only 12% failed this test method."

ERAI's figures come from voluntary reports, so read them as a risk signal and avoid treating them as market prevalence. Still, if incoming electrical tests miss suspect parts, catching an obsolete MPN in the BOM is the cheaper control.

Step 5: Generate and archive manufacturing outputs as build artifacts

Once the design and BOM pass, generate the outputs with your ECAD tool's output jobs. Produce Gerbers, drill files, pick-and-place and a schematic PDF for every revision, and archive them with the commit that produced them. These are your build artifacts, and anyone should be able to reproduce them from the source alone.

Ucamco's Gerber Layer Format Specification calls Gerber "the de facto open standard for printed circuit board (PCB) design data transfer." The spec defines a .ProjectId attribute that ties files to the same project revision. Set .ProjectId in your output job so the fab can match every layer to one revision.

Between revisions, compare the outputs themselves. For one hardware team, an Automation generates a Gerber diff report with plots and a spreadsheet of changes. Reviewers see what changed in the fab data before the files leave the building.

Step 6: Gate release on an approved, tagged revision

The archived outputs only help if manufacturing receives the right set. Cut a release only from a revision that passed its checks and an approved design review. Tag that revision, and ship the outputs and BOM from the tag so nobody builds from a working branch.

In Allspice, you use tags to mark revisions and create Releases with notes and supporting outputs. When a design review is closed, an Automation generates a PDF of the review, including its discussion and findings. That PDF is the record a quality team asks for when a field return traces back to a decision made months earlier.

The gate itself is a team process, and Automations can support it with release gating. The team agrees that nothing ships without an approved design review and a Release record. For the BOM side of that handoff, see our post on releasing an approved BOM.

‍

Making it work across Altium, Cadence, OrCAD and KiCad projects

Some hardware organizations run more than one ECAD tool, sometimes because one division standardized years before another. Keep the stage definitions identical across projects, and vary only the tool-specific job that runs ERC, DRC or output generation.

Treat each ECAD tool as a file source, since pipelines draw files from tools like Altium, Cadence, OrCAD and KiCad. Allspice works with the native ECAD files themselves, not exports. The repository structure, design review and release steps stay the same whichever tool produced the design.

A program manager reading the checklist for a KiCad board and an OrCAD board should see the same items with the same pass criteria. Only the job behind each item changes, which keeps one CI/CD pipeline for PCB design auditable across every division.

‍

Connecting the pipeline to review, Jira and PLM

A consistent pipeline still needs to reach the systems where decisions get tracked. Post pipeline results into the design review first, since that is where the approver reads them. This replaces pasting layout screenshots into a Jira ticket, where the image goes stale with the next edit.

Automations can connect to product lifecycle management (PLM) or Jira through their APIs. If a tool has an open API, there is a good chance an Automation can connect it. A failed check could update the Jira ticket for that change, and Allspice describes Automations that generate release packages and push updates to PLM.

Plan the PLM side with the same care as the checks. If you are weighing how much work to put into that integration, our breakdown of PLM cost of ownership is a useful reference.

‍

Where revision control and automation for hardware fits

Allspice is revision control built for hardware that works with native ECAD files, keeping schematics, PCB layouts and review history in one shared repository. Its Automations run ERC and DRC, BOM validation, Gerber diffs, review PDFs and PLM or Jira handoffs alongside your existing process. The examples in this guide come from Allspice Automations for PCB workflows.

Revision control matters most where several groups and a manufacturing partner depend on the same revision. The Allspice platform lists visual diffs under Revision Control and release gating under Automations. Reviewers see visual diffs in place of two screenshots side by side.

Allspice runs alongside your process, from schematic capture through manufacturing handoff. Specific checks are configured per team, and several examples here were built with Allspice's solutions team. Separately, DRCY can add a schematic first pass in the design review, working from native schematic data and component datasheets.

‍

Pipeline readiness checklist

Use this table to audit an existing CI/CD pipeline for PCB design or to scope a new one. An item counts as ready only when it holds for every active project, so a single exception is still a gap.

Item Ready when
One project per repo Each board has its own repository with native ECAD sources and no generated outputs committed
Protected main Main changes only through a reviewed merge
Design review required Every change has a design review with reviewers assigned by role
ERC and DRC on every commit Checks run automatically and flag issues before the design review
MPN completeness Every component has a manufacturer part number before approval
BOM vs schematic A BOM diff against the source‑of‑truth BOM posts to every design review
Outputs generated per revision Gerbers, drill, pick‑and‑place and schematic PDF are archived with each revision
Gerber diff between revisions Reviewers see plots and a list of output changes before files go to fab
Release only from a tagged, approved revision Manufacturing receives outputs and BOM only from a tag with an approved review
Results posted to review and Jira or PLM Check results reach the design review and the tracking systems without screenshots

‍

FAQ

How can hardware teams set up CI/CD pipelines for electronics design?

Use six steps: repository per project, review rules, ERC and DRC per commit, BOM checks, outputs per revision and tagged releases. In Allspice, Automations run the checks, diffs and review PDFs on every design change, alongside your existing process.

What does hardware CI/CD look like for PCB and schematic design workflows?

In Allspice, a design change triggers ERC, DRC and BOM checks, and reviewers see visual diffs in the design review. Teams ship outputs from a tagged Release, and Automations post BOM diffs and a PDF record of each closed review.

Do I need a software team to run hardware CI/CD?

Not necessarily, since Allspice's team can help you build the Automations workflow that fits your process. Our piece on hardware DevOps for electrical engineers covers the engineer's side of that shift.

What should a hardware pipeline check on every commit?

Run ERC, DRC, an MPN completeness check and a BOM-versus-schematic comparison on every commit. Gerber diffs and lifecycle checks can run less often, such as when a design review opens.

‍

Valentina Ratner, Co-Founder & CEO of AllSpice
Allspice
The platform hardware engineers build on

Allspice is the platform for hardware engineering teams to collaborate, automate, and supercharge their workflows. Founded by engineers and trusted by Fortune 500 teams across aerospace, robotics, semiconductors, and defense, we help teams ship better hardware, faster.