mirror of
https://github.com/ziglang/zig.git
synced 2025-01-09 19:50:29 +00:00
build: make docs a separate step than test
This commit is contained in:
parent
7346600517
commit
d75d40dfdf
@ -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{
|
||||
|
@ -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/
|
||||
|
@ -54,7 +54,7 @@ cd $WORKSPACE
|
||||
|
||||
ZIG="$RELEASE_STAGING/bin/zig"
|
||||
|
||||
$ZIG build test \
|
||||
$ZIG build test docs \
|
||||
-fqemu \
|
||||
-fwasmtime \
|
||||
-Dstatic-llvm \
|
||||
|
Loading…
Reference in New Issue
Block a user