| author | |
| committer | |
| log | 8caed4846018cd185b632bc884c7df81b8dd39dc |
| tree | 56875ab179636a034fa5c9c5cf451be4c9b2d3ad |
| parent | 40e84a27d68e34b26a9e132b59169b14b6ef99c5 |
| parent | 17df35025b94c6f64a83ef45a23eb7798fedb251 |
8 files changed, 46 insertions(+), 16 deletions(-)
ci/drone/drone.yml+14| ... | ... | @@ -62,6 +62,20 @@ steps: |
| 62 | 62 | commands: |
| 63 | 63 | - ./ci/drone/test_linux_cases |
| 64 | 64 | |
| 65 | - name: standalone | |
| 66 | depends_on: | |
| 67 | - build | |
| 68 | image: ziglang/static-base:llvm15-aarch64-3 | |
| 69 | commands: | |
| 70 | - ./ci/drone/test_linux_standalone | |
| 71 | ||
| 72 | - name: docs | |
| 73 | depends_on: | |
| 74 | - build | |
| 75 | image: ziglang/static-base:llvm15-aarch64-3 | |
| 76 | commands: | |
| 77 | - ./ci/drone/test_linux_docs | |
| 78 | ||
| 65 | 79 | - name: finalize |
| 66 | 80 | depends_on: |
| 67 | 81 | - build |
ci/drone/linux_script_finalize+1-2| ... | ... | @@ -24,8 +24,7 @@ rmdir "$INSTALL_PREFIX/lib" |
| 24 | 24 | mv "$INSTALL_PREFIX/lib2" "$INSTALL_PREFIX/lib" |
| 25 | 25 | |
| 26 | 26 | mv ../LICENSE "$INSTALL_PREFIX/" |
| 27 | # https://github.com/ziglang/zig/issues/12689 | |
| 28 | # mv ../zig-cache/langref.html "$INSTALL_PREFIX/doc/" | |
| 27 | mv ../zig-cache/langref.html "$INSTALL_PREFIX/doc/" | |
| 29 | 28 | |
| 30 | 29 | GITBRANCH="$DRONE_BRANCH" |
| 31 | 30 | VERSION="$("$INSTALL_PREFIX/zig" version)" |
ci/drone/test_linux_behavior+1-7| ... | ... | @@ -7,10 +7,4 @@ INSTALL_PREFIX="$DRONE_WORKSPACE/stage3-release" |
| 7 | 7 | ZIG="$INSTALL_PREFIX/bin/zig" |
| 8 | 8 | export ZIG_GLOBAL_CACHE_DIR="$DRONE_WORKSPACE/zig-cache" |
| 9 | 9 | |
| 10 | # Tracking issue for the disabled tests: | |
| 11 | # https://github.com/ziglang/zig/issues/12689 | |
| 12 | ||
| 13 | # $ZIG build test-behavior -Dskip-non-native --zig-lib-dir lib | |
| 14 | $ZIG build test-compiler-rt -Dskip-non-native --zig-lib-dir lib | |
| 15 | $ZIG build test-fmt --zig-lib-dir lib | |
| 16 | # $ZIG build docs --zig-lib-dir lib | |
| 10 | $ZIG build test-behavior -Dskip-non-native --zig-lib-dir lib |
ci/drone/test_linux_docs created+10| ... | ... | @@ -0,0 +1,10 @@ |
| 1 | #!/bin/sh | |
| 2 | ||
| 3 | set -x | |
| 4 | set -e | |
| 5 | ||
| 6 | INSTALL_PREFIX="$DRONE_WORKSPACE/stage3-release" | |
| 7 | ZIG="$INSTALL_PREFIX/bin/zig" | |
| 8 | export ZIG_GLOBAL_CACHE_DIR="$DRONE_WORKSPACE/zig-cache" | |
| 9 | ||
| 10 | $ZIG build docs --zig-lib-dir lib |
ci/drone/test_linux_misc+4-6| ... | ... | @@ -7,13 +7,11 @@ INSTALL_PREFIX="$DRONE_WORKSPACE/stage3-release" |
| 7 | 7 | ZIG="$INSTALL_PREFIX/bin/zig" |
| 8 | 8 | export ZIG_GLOBAL_CACHE_DIR="$DRONE_WORKSPACE/zig-cache" |
| 9 | 9 | |
| 10 | # Tracking issue for the disabled tests: | |
| 11 | # https://github.com/ziglang/zig/issues/12689 | |
| 12 | ||
| 10 | $ZIG build test-compiler-rt -Dskip-non-native --zig-lib-dir lib | |
| 11 | $ZIG build test-compare-output -Dskip-non-native --zig-lib-dir lib | |
| 13 | 12 | $ZIG build test-universal-libc -Dskip-non-native --zig-lib-dir lib |
| 14 | # $ZIG build test-compare-output -Dskip-non-native --zig-lib-dir lib | |
| 15 | # $ZIG build test-standalone -Dskip-non-native --zig-lib-dir lib -Dskip-release-safe | |
| 16 | 13 | $ZIG build test-stack-traces -Dskip-non-native --zig-lib-dir lib |
| 17 | 14 | $ZIG build test-cli -Dskip-non-native --zig-lib-dir lib |
| 18 | 15 | $ZIG build test-asm-link -Dskip-non-native --zig-lib-dir lib |
| 19 | # $ZIG build test-translate-c -Dskip-non-native --zig-lib-dir lib | |
| 16 | $ZIG build test-translate-c -Dskip-non-native --zig-lib-dir lib | |
| 17 | $ZIG build test-fmt --zig-lib-dir lib |
ci/drone/test_linux_standalone created+10| ... | ... | @@ -0,0 +1,10 @@ |
| 1 | #!/bin/sh | |
| 2 | ||
| 3 | set -x | |
| 4 | set -e | |
| 5 | ||
| 6 | INSTALL_PREFIX="$DRONE_WORKSPACE/stage3-release" | |
| 7 | ZIG="$INSTALL_PREFIX/bin/zig" | |
| 8 | export ZIG_GLOBAL_CACHE_DIR="$DRONE_WORKSPACE/zig-cache" | |
| 9 | ||
| 10 | $ZIG build test-standalone -Dskip-non-native --zig-lib-dir lib -Dskip-release-safe |
ci/drone/test_linux_std_Debug+2-1| ... | ... | @@ -12,7 +12,8 @@ $ZIG build test-std \ |
| 12 | 12 | -Dskip-release-safe \ |
| 13 | 13 | -Dskip-release-fast \ |
| 14 | 14 | -Dskip-release-small \ |
| 15 | -Dskip-non-native | |
| 15 | -Dskip-non-native \ | |
| 16 | -Dskip-single-threaded | |
| 16 | 17 | |
| 17 | 18 | # Produce the experimental std lib documentation. |
| 18 | 19 | mkdir -p "$INSTALL_PREFIX/doc/std" |
test/tests.zig+4| ... | ... | @@ -678,6 +678,10 @@ pub fn addPkgTests( |
| 678 | 678 | // https://github.com/ziglang/zig/issues/12415 |
| 679 | 679 | continue; |
| 680 | 680 | } |
| 681 | if (backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 682 | // https://github.com/ziglang/zig/issues/13357 | |
| 683 | continue; | |
| 684 | } | |
| 681 | 685 | } |
| 682 | 686 | |
| 683 | 687 | const libc_prefix = if (test_target.target.getOs().requiresLibC()) |