zig/ci/drone/test_linux_std_ReleaseSmall
2022-08-29 23:37:31 -07:00

17 lines
566 B
Bash
Executable File

#!/bin/sh
set -x
set -e
INSTALL_PREFIX="$DRONE_WORKSPACE/stage3-release"
ZIG="$INSTALL_PREFIX/bin/zig"
export ZIG_GLOBAL_CACHE_DIR="$DRONE_WORKSPACE/zig-cache"
# 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.
# $ZIG build test-std -Dskip-debug -Dskip-release-safe -Dskip-release-fast -Dskip-non-native
$ZIG test lib/std/std.zig -OReleaseSmall --zig-lib-dir lib
$ZIG test lib/std/std.zig -OReleaseSmall -lc --zig-lib-dir lib