Skip to content

Commit 99cd5b3

Browse files
committed
Run DMD's testsuite on Buildkite
1 parent 901d3ed commit 99cd5b3

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

buildkite.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ projects=(
137137
"BBasile/iz" # 12s
138138
"aliak00/optional" # 12s
139139
"dlang-community/dfmt" # 11s
140+
"dlang/dmd" # TODO
140141
# run in under 10s sorted alphabetically
141142
"Abscissa/libInputVisitor"
142143
"ariovistus/pyd"

buildkite/build_project.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ esac
4343

4444
# Don't checkout a tagged version of the core repostories like Phobos
4545
case "$REPO_FULL_NAME" in
46+
dlang/dmd | \
47+
dlang/druntime | \
4648
dlang/phobos)
4749
;;
4850
*)
@@ -228,14 +230,16 @@ case "$REPO_FULL_NAME" in
228230
ninja -j2 ldc2 druntime-ldc phobos2-ldc
229231
;;
230232

233+
dlang/dmd | \
234+
dlang/druntime | \
231235
dlang/phobos)
232236
"$DIR"/clone_repositories.sh
233237
# To avoid running into "Path too long" issues, see e.g. https://github.com/dlang/ci/pull/287
234238
export TMP="/tmp/${BUILDKITE_AGENT_NAME}"
235239
export TEMP="$TMP"
236240
export TMPDIR="$TMP"
237241
rm -rf "$TMP" && mkdir -p "$TMP"
238-
cd phobos && make -f posix.mak -j2 buildkite-test
242+
cd "$(basename "${REPO_FULL_NAME}")"&& make -f posix.mak clean && make -f posix.mak -j2 buildkite-test
239243
rm -rf "$TMP"
240244
;;
241245

0 commit comments

Comments
 (0)