From 1f86a09f9980e54342033ddb0ce1a1a8fd605923 Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Tue, 21 Aug 2018 17:28:20 +0200 Subject: [PATCH 1/3] Run Druntime's testsuite on Buildkite --- buildkite.sh | 1 + buildkite/build_project.sh | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/buildkite.sh b/buildkite.sh index 4a0c57d5..7deabf88 100755 --- a/buildkite.sh +++ b/buildkite.sh @@ -137,6 +137,7 @@ projects=( "BBasile/iz" # 12s "aliak00/optional" # 12s "dlang-community/dfmt" # 11s + "dlang/druntime" # TODO # run in under 10s sorted alphabetically "Abscissa/libInputVisitor" "ariovistus/pyd" diff --git a/buildkite/build_project.sh b/buildkite/build_project.sh index 2a37c1db..283f0f9e 100755 --- a/buildkite/build_project.sh +++ b/buildkite/build_project.sh @@ -250,6 +250,8 @@ case "$REPO_FULL_NAME" in ninja -j2 ldc2 druntime-ldc phobos2-ldc ;; + 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 @@ -257,7 +259,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" ;; From 280eb372cb08b04f59a6c64252b986e6cb736504 Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Sat, 27 Oct 2018 01:52:43 +0200 Subject: [PATCH 2/3] Exclude test from druntime which requires gdb8 for now --- buildkite/build_project.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildkite/build_project.sh b/buildkite/build_project.sh index 283f0f9e..326e7d60 100755 --- a/buildkite/build_project.sh +++ b/buildkite/build_project.sh @@ -259,6 +259,8 @@ case "$REPO_FULL_NAME" in export TEMP="$TMP" export TMPDIR="$TMP" 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 cd "$(basename "${REPO_FULL_NAME}")"&& make -f posix.mak clean && make -f posix.mak -j2 buildkite-test rm -rf "$TMP" ;; From ba82870903cf0a8e3ca63a788eac6464245f3561 Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Sat, 27 Oct 2018 09:37:47 +0200 Subject: [PATCH 3/3] Set correct time + position for the Buildtime job --- buildkite.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildkite.sh b/buildkite.sh index 7deabf88..85aca4f0 100755 --- a/buildkite.sh +++ b/buildkite.sh @@ -118,6 +118,7 @@ projects=( "LaurentTreguier/dls" # 1m55s "eBay/tsv-utils" # 1m41s "dlang-community/D-Scanner" # 1m40s + "dlang/druntime" # 1m18s "dlang-tour/core" # 1m17s "d-widget-toolkit/dwt" # 1m16s "rejectedsoftware/diet-ng" # 56s @@ -137,7 +138,6 @@ projects=( "BBasile/iz" # 12s "aliak00/optional" # 12s "dlang-community/dfmt" # 11s - "dlang/druntime" # TODO # run in under 10s sorted alphabetically "Abscissa/libInputVisitor" "ariovistus/pyd"