Skip to main content

C++

This guide covers configuring continuous integration pipelines for C++ projects.

Build and Test

In the below example we demonstrate a pipeline that executes make and make test commands. These commands are executed inside the gcc Docker container, downloaded at runtime from DockerHub.

kind: pipeline
spec:
stages:
- type: ci
spec:
steps:
- name: test
type: run
spec:
container: gcc
script: |-
./configure
make
make test

Please note that you can use any Docker image in your pipeline from any Docker registry. You can use the official gcc images, or your can bring your own.

AIDA logo
AIDA logo

Harness AIDA Chatbot

AI Development Assistant


Today, March 16, 12:28pm

AIDA logo

Accelerate your software delivery with the powerful capabilities of Harness’s Platform.

AIDA logo

How can I help?

Log into your Harness Account to access AIDA