mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
a7d215759e
- disable azure/linux - split probe/build/test steps for log clarity - add package step; enabled only when master/pull - add on-master-success pipeline; enabled only when master/pull
38 lines
1.4 KiB
Bash
Executable File
38 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 build test-behavior -Denable-qemu -Denable-wasmtime
|
|
$ZIG build test-compiler-rt -Denable-qemu -Denable-wasmtime
|
|
$ZIG build test-std -Denable-qemu -Denable-wasmtime
|
|
$ZIG build test-minilibc -Denable-qemu -Denable-wasmtime
|
|
$ZIG build test-compare-output -Denable-qemu -Denable-wasmtime
|
|
$ZIG build test-standalone -Denable-qemu -Denable-wasmtime
|
|
$ZIG build test-stack-traces -Denable-qemu -Denable-wasmtime
|
|
$ZIG build test-cli -Denable-qemu -Denable-wasmtime
|
|
$ZIG build test-asm-link -Denable-qemu -Denable-wasmtime
|
|
$ZIG build test-runtime-safety -Denable-qemu -Denable-wasmtime
|
|
$ZIG build test-translate-c -Denable-qemu -Denable-wasmtime
|
|
$ZIG build test-run-translated-c -Denable-qemu -Denable-wasmtime
|
|
$ZIG build docs -Denable-qemu -Denable-wasmtime
|
|
$ZIG build # test building self-hosted without LLVM
|
|
$ZIG build test-fmt -Denable-qemu -Denable-wasmtime
|
|
$ZIG build test-stage2 -Denable-qemu -Denable-wasmtime
|
|
|
|
# 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
|