Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dlang/ci
dlang CI testing pipelines
https://github.com/dlang/ci
ansible buildkite ci dlang dub hetzner scaleway
Last synced: 2 months ago
JSON representation
dlang CI testing pipelines
- Host: GitHub
- URL: https://github.com/dlang/ci
- Owner: dlang
- License: bsl-1.0
- Created: 2016-12-17T12:00:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-07-08T08:48:09.000Z (7 months ago)
- Last Synced: 2024-07-08T11:00:15.947Z (7 months ago)
- Topics: ansible, buildkite, ci, dlang, dub, hetzner, scaleway
- Language: Shell
- Homepage: https://buildkite.com/dlang
- Size: 631 KB
- Stars: 13
- Watchers: 24
- Forks: 29
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# dlangci
CI pipelines for dlang.
At the moment this mainly tests various dub projects against regressions during development of dlang.[![Build status](https://badge.buildkite.com/7e4ed28182279b460ce787dbc36ba2f5a142843225a9c9ecb8.svg?branch=master)](https://buildkite.com/dlang/ci)
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](/ansible/roles/test_deps/tasks/main.yml). Send us a PR if you need something that isn't yet installed.