mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
* CMakeLists: pass `-Dstrip` for release zig builds * pass -target and -mcpu to zig1. works around llvm on freebsd incorrectly detecting "freestanding" instead of "freebsd" for the native OS. * ci.ziglang.org is now responsible for creating aarch64-macos tarballs rather than Azure.
16 lines
526 B
Bash
Executable file
16 lines
526 B
Bash
Executable file
#!/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 test-universal-libc -Dskip-non-native
|
|
$ZIG build test-compare-output -Dskip-non-native
|
|
$ZIG build test-standalone -Dskip-non-native -Dskip-release-safe
|
|
$ZIG build test-stack-traces -Dskip-non-native
|
|
$ZIG build test-cli -Dskip-non-native
|
|
$ZIG build test-asm-link -Dskip-non-native
|
|
$ZIG build test-translate-c -Dskip-non-native
|