build: make docs a separate step than test

This commit is contained in:
Andrew Kelley 2022-08-10 18:00:24 -07:00
parent 7346600517
commit d75d40dfdf
3 changed files with 2 additions and 3 deletions

View file

@ -527,7 +527,6 @@ pub fn build(b: *Builder) !void {
const test_step = b.step("test", "Run all the tests"); const test_step = b.step("test", "Run all the tests");
test_step.dependOn(toolchain_step); test_step.dependOn(toolchain_step);
test_step.dependOn(std_step); test_step.dependOn(std_step);
test_step.dependOn(docs_step);
} }
const exe_cflags = [_][]const u8{ const exe_cflags = [_][]const u8{

View file

@ -45,7 +45,7 @@ cmake .. -DZIG_EXECUTABLE="$PREFIX/bin/zig"
samu install samu install
# Here we skip some tests to save time. # 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 if [ -f ~/.s3cfg ]; then
mv ../LICENSE release/ mv ../LICENSE release/

View file

@ -54,7 +54,7 @@ cd $WORKSPACE
ZIG="$RELEASE_STAGING/bin/zig" ZIG="$RELEASE_STAGING/bin/zig"
$ZIG build test \ $ZIG build test docs \
-fqemu \ -fqemu \
-fwasmtime \ -fwasmtime \
-Dstatic-llvm \ -Dstatic-llvm \