mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
parent
fbd1390f80
commit
17df35025b
6 changed files with 25 additions and 4 deletions
|
|
@ -69,6 +69,13 @@ steps:
|
|||
commands:
|
||||
- ./ci/drone/test_linux_standalone
|
||||
|
||||
- name: docs
|
||||
depends_on:
|
||||
- build
|
||||
image: ziglang/static-base:llvm15-aarch64-3
|
||||
commands:
|
||||
- ./ci/drone/test_linux_docs
|
||||
|
||||
- name: finalize
|
||||
depends_on:
|
||||
- build
|
||||
|
|
|
|||
10
ci/drone/test_linux_docs
Executable file
10
ci/drone/test_linux_docs
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -x
|
||||
set -e
|
||||
|
||||
INSTALL_PREFIX="$DRONE_WORKSPACE/stage3-release"
|
||||
ZIG="$INSTALL_PREFIX/bin/zig"
|
||||
export ZIG_GLOBAL_CACHE_DIR="$DRONE_WORKSPACE/zig-cache"
|
||||
|
||||
$ZIG build docs --zig-lib-dir lib
|
||||
|
|
@ -7,11 +7,11 @@ INSTALL_PREFIX="$DRONE_WORKSPACE/stage3-release"
|
|||
ZIG="$INSTALL_PREFIX/bin/zig"
|
||||
export ZIG_GLOBAL_CACHE_DIR="$DRONE_WORKSPACE/zig-cache"
|
||||
|
||||
$ZIG build test-compiler-rt -Dskip-non-native --zig-lib-dir lib
|
||||
$ZIG build test-compare-output -Dskip-non-native --zig-lib-dir lib
|
||||
$ZIG build test-universal-libc -Dskip-non-native --zig-lib-dir lib
|
||||
$ZIG build test-stack-traces -Dskip-non-native --zig-lib-dir lib
|
||||
$ZIG build test-cli -Dskip-non-native --zig-lib-dir lib
|
||||
$ZIG build test-asm-link -Dskip-non-native --zig-lib-dir lib
|
||||
$ZIG build test-translate-c -Dskip-non-native --zig-lib-dir lib
|
||||
$ZIG build test-compiler-rt -Dskip-non-native --zig-lib-dir lib
|
||||
$ZIG build test-fmt --zig-lib-dir lib
|
||||
$ZIG build docs --zig-lib-dir lib
|
||||
|
|
|
|||
|
|
@ -8,4 +8,3 @@ ZIG="$INSTALL_PREFIX/bin/zig"
|
|||
export ZIG_GLOBAL_CACHE_DIR="$DRONE_WORKSPACE/zig-cache"
|
||||
|
||||
$ZIG build test-standalone -Dskip-non-native --zig-lib-dir lib -Dskip-release-safe
|
||||
$ZIG build test-compare-output -Dskip-non-native --zig-lib-dir lib
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@ $ZIG build test-std \
|
|||
-Dskip-release-safe \
|
||||
-Dskip-release-fast \
|
||||
-Dskip-release-small \
|
||||
-Dskip-non-native
|
||||
-Dskip-non-native \
|
||||
-Dskip-single-threaded
|
||||
|
||||
# Produce the experimental std lib documentation.
|
||||
mkdir -p "$INSTALL_PREFIX/doc/std"
|
||||
|
|
|
|||
|
|
@ -678,6 +678,10 @@ pub fn addPkgTests(
|
|||
// https://github.com/ziglang/zig/issues/12415
|
||||
continue;
|
||||
}
|
||||
if (backend == .stage2_c and builtin.cpu.arch == .aarch64) {
|
||||
// https://github.com/ziglang/zig/issues/13357
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
const libc_prefix = if (test_target.target.getOs().requiresLibC())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue