Free Trials

Download a free trial to find out which Altium software best suits your needs

How to Buy

Contact your local sales office to get started on improving your design environment


Download the latest in PCB design and EDA software

  • Altium Designer

    Complete Environment for Schematic + Layout

  • CircuitStudio

    Entry Level, Professional PCB Design Tool

  • CircuitMaker

    Community Based PCB Design Tool


    Agile PCB Design For Teams

  • Altium 365

    Connecting PCB Design to the Manufacturing Floor

  • Altium Concord Pro

    Complete Solution for Library Management

  • Octopart

    Extensive, Easy-to-Use Component Database

  • PDN Analyzer

    Natural and Effortless Power Distribution Network Analysis

  • See All Extensions

    World-Renowned Technology for Embedded Systems Development

  • Live Courses

    Learn best practices with instructional training available worldwide

  • On-Demand Courses

    Gain comprehensive knowledge without leaving your home or office

  • Altium 365 Viewer

    View & Share electronic designs in your browser

  • Altium Designer 20

    The most powerful, modern and easy-to-use PCB design tool for professional use


    Annual PCB Design Summit

    • Forum

      Where Altium users and enthusiasts can interact with each other

    • Blog

      Our blog about things that interest us and hopefully you too

    • Ideas

      Submit ideas and vote for new features you want in Altium tools

    • Bug Crunch

      Help make the software better by submitting bugs and voting on what's important

    • Wall

      A stream of events on AltiumLive you follow by participating in or subscribing to

    • Beta Program

      Information about participating in our Beta program and getting early access to Altium tools

    All Resources

    Explore the latest content from blog posts to social media and technical white papers gathered together for your convenience


    Take a look at what download options are available to best suit your needs

    How to Buy

    Contact your local sales office to get started improving your design environment

    • Documentation

      The documentation area is where you can find extensive, versioned information about our software online, for free.

    • Training & Events

      View the schedule and register for training events all around the world and online

    • Design Content

      Browse our vast library of free design content including components, templates and reference designs

    • Webinars

      Attend a live webinar online or get instant access to our on demand series of webinars

    • Support

      Get your questions answered with our variety of direct support and self-service options

    • Technical Papers

      Stay up to date with the latest technology and industry trends with our complete collection of technical white papers.

    • Video Library

      Quick and to-the-point video tutorials to get you started with Altium Designer

    How to Create a CI/CD Pipeline for Your PCB Design

    Ari Mahpour
    |  July 13, 2020
    How to Create a CI/CD Pipeline for Your PCB Design

    At Altium Live 2019 (San Diego), I gave a talk with David Haboud on software development techniques for PCB design. This talk demonstrated what a Continuous Integration/Continuous Delivery (CI/CD) pipeline would look like within a DevOps environment. In that talk I used the Atlassian tool suite (Jira, Bitbucket, and Bamboo) to create my DevOps flow for PCB design. In this article, I am going to demonstrate and provide a full CI/CD project example using Gitlab, which offers a free Git server with built-in CI/CD capability.

    Configuration: Gitlab

    Before you create (or clone) a project, you will need to sign up for a free Gitlab account. Additionally, in order to trigger builds to use Altium Designer, you will need to install a Gitlab Runner (i.e. agent) on your Windows machine, configure the runner with your project, then run it locally within a shell (versus a service). Exact details on how to get the runner working is beyond the scope of this article. For more information on getting set up with Gitlab, you can consult the Gitlab documentation. Note that these instructions are Gitlab specific, but the same process has been done with Jenkins and Atlassian Bamboo as well. After you’ve set up your agent, you should see a window that looks something like this:

    Gitlab Runner Status Window
    Figure 1. Gitlab Runner Status Window

    Design Files

    In this article, we will review a simple CI/CD example using the SAM4E XPlained Pro evaluation board design from Microchip. In a future article we will use the same board to demonstrate hardware in the loop testing. The design files for this project can be found here on Gitlab. At the time of writing this article, the design files were hosted on Microchip’s website. The design files have been untouched with the exception of the OutJob file, which I modified for simpler scripting. Additionally, I have added a Delphi script, GenerateOutputFiles.pas, that runs the automation once Altium Designer is called from the agent. The .gitlab-ci.yml file is the pipeline definition that tells the agent what to do.


    The flow for this project is rather simple. The designer works through the design (whether it be schematic capture, layout, etc.), commits that design to the server, and then has all the artifacts published by the agent. The next iteration of that cycle continues until you are ready to build your board. The following is an illustration of that pipeline:

    Diagram of Project’s CI/CD Pipeline
    Figure 2. Diagram of Project’s CI/CD Pipeline

    The output files for this project contain multiple artifacts specified in the OutJob file.

    OutJob Configuration
    Figure 3. OutJob Configuration

    We can view the artifacts generated by our agent within every build on the right side of the job status page:

    Job Status in GitLab
    Figure 4. Job Status in GitLab

    Job #531015819, for example, contains fabrication data, assembly data, and other data packages for teammates (or in this case, customers) to review:

    Artifacts in GitLab
    Figure 5. Artifacts in GitLab

    The key takeaway here is that anyone gets to review the original design files, generated packages, and track all issues in the same place (though the issue tracking/code storage/agent all-in-one solution is only provided by Gitlab (but can be extended to any other CI/CD setup). This now means that:

    1. Folks from the software team can now get the latest PDF version of the schematics.
    2. Manufacturing engineers can hold a DFM review of your latest package generation (that happens automatically by your agents on every commit).
    3. Mechanical engineers are getting the most up to date STEP file that is being generated from your PCB.

    Everything now happens continuously and in the background without you ever lifting a finger. None of this should be new to you if you have read some of my previous articles, but this article gives you a concrete example for how to get this up and running. To summarize, here are the steps needed to create a full CI/CD pipeline:

    1. Sign up for a free Gitlab account.
    2. Configure a Gitlab Runner to run on your Windows machine (using cmd shell as the default versus Powershell).
    3. Fork the SAM4E XPlained Pro repository on Gitlab.
    4. Run the pipeline manually or via a commit and push to the repository.
    5. Watch your artifacts being generated.
    6. Bonus: Create an issue and refer to that issue number in your code commit (e.g. “First commit #3”) to watch the two link together.


    In this article, we reviewed a working example of an Altium Designer project running through the CI/CD process. Through the use of Gitlab and its agent capabilities, we are able to automatically run OutJobs to generate our data packages upon every commit. This enables us to create packages, not only for review by our teammates, but also for our customers without the need for extra steps. A link to the repository has also been provided to the reader at the beginning and end of this article to try it out for themself. All that is needed is a free Gitlab account and a computer running Altium Designer.

    About Author

    About Author

    Ari is an engineer with broad experience in designing, manufacturing, testing, and integrating electrical, mechanical, and software systems. He is passionate about bringing design, verification, and test engineers together to work as a cohesive unit.

    most recent articles

    Back to Home