mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 23:29:03 +00:00
build: make docs a separate step than test
This commit is contained in:
parent
7346600517
commit
d75d40dfdf
3 changed files with 2 additions and 3 deletions
|
|
@ -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{
|
||||||
|
|
|
||||||
|
|
@ -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/
|
||||||
|
|
|
||||||
|
|
@ -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 \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue