/ci

Jenkins Pipeline for dlang CI testing

Primary LanguageShellBoost Software License 1.0BSL-1.0

dlangci

CI pipelines for dlang. At the moment this mainly tests various dub projects against regressions during development of dlang.

Build status

How to build a project locally

Typically all you need to reproduce a failure is to clone a specific repository locally and run its testsuite with your respective DMD compiler:

dub test --compiler=$HOME/dlang/dmd/generated/linux/release/64/dmd

However, for adding new projects it can be interesting to test what's happening on Buildkite locally. This can be done with:

REPO_FULL_NAME="dlang/tools" ./buildkite/build_project.sh

However, be sure to download the distribution.tgz and extract it in distribution before running (otherwise the default dmd will be used by build_project.sh). Alternatively, to use your locally build dmd, simply make sure that it has a higher priority in your $PATH:

export PATH="$HOME/dlang/dmd/generated/linux/release/64:$PATH"

Pre-installed dependencies on buildkite agents

The server infrastructure is maintained using ansible and a list of pre-installed test dependencies can be found here. Send us a PR if you need something that isn't yet installed.