Skip to content

Commit 96a9baf

Browse files
committed
Run DMD's testsuite on Buildkite
1 parent 0ae33e3 commit 96a9baf

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

buildkite.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ projects=(
143143
"BBasile/iz" # 12s
144144
"aliak00/optional" # 12s
145145
"dlang-community/dfmt" # 11s
146+
"dlang/dmd" # TODO
146147
# run in under 10s sorted alphabetically
147148
"Abscissa/libInputVisitor"
148149
#"ariovistus/pyd"

buildkite/build_project.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,12 +273,22 @@ case "$REPO_FULL_NAME" in
273273
rm -rf "$TMP" && mkdir -p "$TMP"
274274
# patch makefile which requires gdb 8 - see https://github.com/dlang/ci/pull/301
275275
sed "s/TESTS+=rt_trap_exceptions_drt_gdb//" -i druntime/test/exceptions/Makefile
276+
# remove tests which require gdb 8 for now (see https://github.com/dlang/ci/pull/291)
277+
rm dmd/test/runnable/gdb{1,10311,14225,14276,14313,14330,4149,4181}.d
278+
rm dmd/test/runnable/b18504.d
279+
rm dmd/test/runnable/gdb15729.sh
276280
# build druntime for phobos first, s.t. it doesn't fault when copying the druntime files in parallel
277281
# see https://github.com/dlang/ci/pull/340
278282
if [ "$REPO_FULL_NAME" == "dlang/phobos" ] ; then
279283
make -C druntime -j2 -f posix.mak
280284
fi
281-
cd "$(basename "${REPO_FULL_NAME}")"&& make -f posix.mak clean && make -f posix.mak -j2 buildkite-test
285+
# need to build everything before testing dmd
286+
if [ "$REPO_FULL_NAME" == "dlang/dmd" ] ; then
287+
make -C dmd -j2 -f posix.mak
288+
make -C druntime -j2 -f posix.mak
289+
make -C phobos -j2 -f posix.mak
290+
fi
291+
cd "$(basename "${REPO_FULL_NAME}")" && make -f posix.mak clean && make -f posix.mak -j2 buildkite-test
282292
rm -rf "$TMP"
283293
;;
284294

0 commit comments

Comments
 (0)