aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-08-25 15:23:01 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-08-25 15:23:01 -0700
commit9d231c4991ec1e33c3f4a96e5941848705ef5050 (patch)
tree25474cbdbcbbdd69f77efa5cfce25d4573dd4af6 /ci
parentd5233ee85ce13cba3dd03e4c0c938cee193b9b19 (diff)
downloadzig-9d231c4991ec1e33c3f4a96e5941848705ef5050.tar.gz
zig-9d231c4991ec1e33c3f4a96e5941848705ef5050.zip
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.
Diffstat (limited to 'ci')
-rwxr-xr-xci/drone/test_linux_std_ReleaseSmall8
1 files changed, 7 insertions, 1 deletions
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