mirror of
https://github.com/ziglang/zig.git
synced 2025-12-12 09:13:11 +00:00
Temporary workaround for #8597 until upstream fix lands. - add `zig build -Dskip-debug` option - build a release-fast build.exe - disable test suite build modes { debug, release-small, release-safe } - enable passing test-* components - use parallel pipeline steps for tests
19 lines
393 B
Bash
Executable File
19 lines
393 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. ./ci/drone/linux_script_base
|
|
|
|
apk update
|
|
apk add samurai
|
|
|
|
# Make the `zig version` number consistent.
|
|
# This will affect the cmake command below.
|
|
git config core.abbrev 9
|
|
git fetch --unshallow || true
|
|
git fetch --tags
|
|
|
|
mkdir build
|
|
cd build
|
|
cmake .. -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$DISTDIR" -DZIG_STATIC=ON -DCMAKE_PREFIX_PATH=/deps/local -GNinja
|
|
|
|
samu install
|