mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
from zig-specific options to generally recognized zig build options that any project can take advantage of. See the updated usage text for more details.
39 lines
1.4 KiB
Bash
Executable file
39 lines
1.4 KiB
Bash
Executable file
#!/bin/sh
|
|
|
|
. ./ci/zinc/linux_base.sh
|
|
|
|
ZIG=$DEBUG_STAGING/bin/zig
|
|
|
|
$ZIG test test/behavior.zig -fno-stage1 -fLLVM -I test
|
|
$ZIG test test/behavior.zig -fno-stage1 -ofmt=c -I test
|
|
|
|
$ZIG build test-behavior -fqemu -fwasmtime
|
|
$ZIG build test-compiler-rt -fqemu -fwasmtime
|
|
$ZIG build test-std -fqemu -fwasmtime
|
|
$ZIG build test-minilibc -fqemu -fwasmtime
|
|
$ZIG build test-compare-output -fqemu -fwasmtime
|
|
$ZIG build test-standalone -fqemu -fwasmtime
|
|
$ZIG build test-stack-traces -fqemu -fwasmtime
|
|
$ZIG build test-cli -fqemu -fwasmtime
|
|
$ZIG build test-asm-link -fqemu -fwasmtime
|
|
$ZIG build test-runtime-safety -fqemu -fwasmtime
|
|
$ZIG build test-translate-c -fqemu -fwasmtime
|
|
$ZIG build test-run-translated-c -fqemu -fwasmtime
|
|
$ZIG build docs -fqemu -fwasmtime
|
|
$ZIG build # test building self-hosted without LLVM
|
|
$ZIG build -Dtarget=arm-linux-musleabihf # test building self-hosted for 32-bit arm
|
|
$ZIG build test-fmt -fqemu -fwasmtime
|
|
$ZIG build test-stage2 -fqemu -fwasmtime
|
|
|
|
# Produce the experimental std lib documentation.
|
|
mkdir -p $RELEASE_STAGING/docs/std
|
|
$ZIG test lib/std/std.zig \
|
|
--zig-lib-dir lib \
|
|
-femit-docs=$RELEASE_STAGING/docs/std \
|
|
-fno-emit-bin
|
|
|
|
# Look for HTML errors.
|
|
tidy --drop-empty-elements no -qe zig-cache/langref.html
|
|
|
|
# Explicit exit helps show last command duration.
|
|
exit
|