Skip to content

Commit

Permalink
Run DMD's + Druntime's testsuite on Buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
wilzbach committed Aug 23, 2018
1 parent e3454f9 commit ae4a81f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions buildkite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ projects=(
"BBasile/iz" # 12s
"aliak00/optional" # 12s
"dlang-community/dfmt" # 11s
"dlang/dmd" # TODO
"dlang/druntime" # TODO
# run in under 10s sorted alphabetically
"Abscissa/libInputVisitor"
"ariovistus/pyd"
Expand Down
6 changes: 5 additions & 1 deletion buildkite/build_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ esac

# Don't checkout a tagged version of the core repostories like Phobos
case "$REPO_FULL_NAME" in
dlang/dmd | \
dlang/druntime | \
dlang/phobos)
;;
*)
Expand Down Expand Up @@ -219,14 +221,16 @@ case "$REPO_FULL_NAME" in
make -j2 ldc2
;;

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

Expand Down

0 comments on commit ae4a81f

Please sign in to comment.