mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 16:45:27 +00:00
37b05742ff
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
23 lines
705 B
Bash
Executable File
23 lines
705 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# https://docs.drone.io/pipeline/docker/syntax/workspace/
|
|
#
|
|
# Drone automatically creates a temporary volume, known as your workspace,
|
|
# where it clones your repository. The workspace is the current working
|
|
# directory for each step in your pipeline.
|
|
#
|
|
# Because the workspace is a volume, filesystem changes are persisted between
|
|
# pipeline steps. In other words, individual steps can communicate and share
|
|
# state using the filesystem.
|
|
#
|
|
# Workspace volumes are ephemeral. They are created when the pipeline starts
|
|
# and destroyed after the pipeline completes.
|
|
|
|
set -x
|
|
set -e
|
|
|
|
TRIPLEARCH="$(uname -m)"
|
|
DISTDIR="$DRONE_WORKSPACE/dist"
|
|
|
|
export ZIG_GLOBAL_CACHE_DIR="$DRONE_WORKSPACE/zig-cache"
|