From d75d40dfdfeb82dc9b1b2b5cdcd3fdb8105ac97d Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 10 Aug 2022 18:00:24 -0700 Subject: build: make docs a separate step than test --- build.zig | 1 - ci/srht/freebsd_script | 2 +- ci/zinc/linux_test_stage3_release.sh | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build.zig b/build.zig index 6823248431..bb3db637d6 100644 --- a/build.zig +++ b/build.zig @@ -527,7 +527,6 @@ pub fn build(b: *Builder) !void { const test_step = b.step("test", "Run all the tests"); test_step.dependOn(toolchain_step); test_step.dependOn(std_step); - test_step.dependOn(docs_step); } const exe_cflags = [_][]const u8{ diff --git a/ci/srht/freebsd_script b/ci/srht/freebsd_script index 9c77c7d120..45002fda15 100755 --- a/ci/srht/freebsd_script +++ b/ci/srht/freebsd_script @@ -45,7 +45,7 @@ cmake .. -DZIG_EXECUTABLE="$PREFIX/bin/zig" samu install # Here we skip some tests to save time. -release/bin/zig build test -Dskip-stage1 -Dskip-non-native +release/bin/zig build test docs -Dskip-stage1 -Dskip-non-native if [ -f ~/.s3cfg ]; then mv ../LICENSE release/ diff --git a/ci/zinc/linux_test_stage3_release.sh b/ci/zinc/linux_test_stage3_release.sh index d3532e0976..3f330cf548 100755 --- a/ci/zinc/linux_test_stage3_release.sh +++ b/ci/zinc/linux_test_stage3_release.sh @@ -54,7 +54,7 @@ cd $WORKSPACE ZIG="$RELEASE_STAGING/bin/zig" -$ZIG build test \ +$ZIG build test docs \ -fqemu \ -fwasmtime \ -Dstatic-llvm \ -- cgit v1.2.3