Skip to content

Commit 6c88ae2

Browse files
committed
Run DMD's testsuite on Buildkite
1 parent e3454f9 commit 6c88ae2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

buildkite.sh

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

buildkite/build_project.sh

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

4040
# Don't checkout a tagged version of the core repostories like Phobos
4141
case "$REPO_FULL_NAME" in
42+
dlang/dmd | \
43+
dlang/druntime | \
4244
dlang/phobos)
4345
;;
4446
*)
@@ -219,14 +221,16 @@ case "$REPO_FULL_NAME" in
219221
make -j2 ldc2
220222
;;
221223

224+
dlang/dmd | \
225+
dlang/druntime | \
222226
dlang/phobos)
223227
"$DIR"/clone_repositories.sh
224228
# To avoid running into "Path too long" issues, see e.g. https://github.com/dlang/ci/pull/287
225229
export TMP="/tmp/${BUILDKITE_AGENT_NAME}"
226230
export TEMP="$TMP"
227231
export TMPDIR="$TMP"
228232
rm -rf "$TMP" && mkdir -p "$TMP"
229-
cd phobos && make -f posix.mak -j2 buildkite-test
233+
cd "$(basename "${REPO_FULL_NAME}")"&& make -f posix.mak clean && make -f posix.mak -j2 buildkite-test
230234
rm -rf "$TMP"
231235
;;
232236

0 commit comments

Comments
 (0)