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");
test_step.dependOn(toolchain_step);
test_step.dependOn(std_step);
test_step.dependOn(docs_step);
}
const exe_cflags = [_][]const u8{

View File

@ -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/

View File

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