Commit d75d40dfdf

Andrew Kelley <andrew@ziglang.org>
2022-08-11 03:00:24
build: make docs a separate step than test
1 parent 7346600
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/
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 \
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{