Skip to content

Commit

Permalink
Run DMD's testsuite on Buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
wilzbach committed Aug 24, 2018
1 parent e3454f9 commit 6c88ae2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions buildkite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,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
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 6c88ae2

Please sign in to comment.