From 9d231c4991ec1e33c3f4a96e5941848705ef5050 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 25 Aug 2022 15:23:01 -0700 Subject: [PATCH] CI: drone: reduce duration of the bottleneck Empirically, the ReleaseSmall std lib tsets take about 55 minutes on the CI, and is the bottleneck causing timeouts. So this commit disables full coverage in favor of running a smaller set of ReleaseSmall std lib tests. --- ci/drone/test_linux_std_ReleaseSmall | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ci/drone/test_linux_std_ReleaseSmall b/ci/drone/test_linux_std_ReleaseSmall index 9a5975ffe5..6271a8b15d 100755 --- a/ci/drone/test_linux_std_ReleaseSmall +++ b/ci/drone/test_linux_std_ReleaseSmall @@ -2,4 +2,10 @@ . ./ci/drone/linux_script_base -./build/zig build test-std -Dskip-debug -Dskip-release-safe -Dskip-release-fast -Dskip-non-native +# Empirically, this takes about 55 minutes on the CI, and is the bottleneck +# causing timeouts. So this is disabled in favor of running a smaller set +# of ReleaseSmall std lib tests. +# ./build/zig build test-std -Dskip-debug -Dskip-release-safe -Dskip-release-fast -Dskip-non-native + +./build/zig test lib/std/std.zig -OReleaseSmall +./build/zig test lib/std/std.zig -OReleaseSmall -lc