From 6c88ae207fd5ae02cad6328ecb4c51e4137a5a8c Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Tue, 21 Aug 2018 17:28:20 +0200 Subject: [PATCH] Run DMD's testsuite on Buildkite --- buildkite.sh | 1 + buildkite/build_project.sh | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/buildkite.sh b/buildkite.sh index 4dff97ec..aee8b882 100755 --- a/buildkite.sh +++ b/buildkite.sh @@ -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" diff --git a/buildkite/build_project.sh b/buildkite/build_project.sh index ce6abca6..88ab086c 100755 --- a/buildkite/build_project.sh +++ b/buildkite/build_project.sh @@ -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) ;; *) @@ -219,6 +221,8 @@ 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 @@ -226,7 +230,7 @@ case "$REPO_FULL_NAME" in 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" ;;