Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run DMD's testsuite on Buildkite #291

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions buildkite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ projects=(
"BBasile/iz" # 12s
"aliak00/optional" # 12s
"dlang-community/dfmt" # 11s
"dlang/dmd" # TODO
# run in under 10s sorted alphabetically
"Abscissa/libInputVisitor"
#"ariovistus/pyd"
Expand Down
12 changes: 11 additions & 1 deletion buildkite/build_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,22 @@ case "$REPO_FULL_NAME" in
rm -rf "$TMP" && mkdir -p "$TMP"
# patch makefile which requires gdb 8 - see https://github.com/dlang/ci/pull/301
sed "s/TESTS+=rt_trap_exceptions_drt_gdb//" -i druntime/test/exceptions/Makefile
# remove tests which require gdb 8 for now (see https://github.com/dlang/ci/pull/291)
rm dmd/test/runnable/gdb{1,10311,14225,14276,14313,14330,4149,4181}.d
rm dmd/test/runnable/b18504.d
rm dmd/test/runnable/gdb15729.sh
# build druntime for phobos first, s.t. it doesn't fault when copying the druntime files in parallel
# see https://github.com/dlang/ci/pull/340
if [ "$REPO_FULL_NAME" == "dlang/phobos" ] ; then
make -C druntime -j2 -f posix.mak
fi
cd "$(basename "${REPO_FULL_NAME}")"&& make -f posix.mak clean && make -f posix.mak -j2 buildkite-test
# need to build everything before testing dmd
if [ "$REPO_FULL_NAME" == "dlang/dmd" ] ; then
make -C dmd -j2 -f posix.mak
make -C druntime -j2 -f posix.mak
make -C phobos -j2 -f posix.mak
fi
cd "$(basename "${REPO_FULL_NAME}")" && make -f posix.mak clean && make -f posix.mak -j2 buildkite-test
rm -rf "$TMP"
;;

Expand Down