For the complete documentation index, see llms.txt. This page is also available as Markdown.

D

Create a Pipeline for a D lang codebase.

This guide covers configuring continuous integration pipelines for D projects.

Build and Test

In the below example we demonstrate a pipeline that executes dub test command to compile and test your code. These commands are executed inside a Docker container, downloaded at runtime from DockerHub.

kind: pipeline
spec:
  stages:
  - type: ci
    spec:
      steps:
      - name: test
        type: run
        spec:
          container: dlanguage/dmd
          script: dub test

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

Last updated

Was this helpful?