mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
419074a81b
* build.zig: remove detour through zig0. I'll add it back as an option later. This means you can build stage1 with a freshly built zig without detouring through zig0 again. * remove unused file windows_script.bat * drone.yml: remove unnecessary steps * ninja doesn't need a jobs parameter * build the release version of zig with zig build instead of cmake. * build stage2 with -Dstatic-llvm -Duse-zig-libcxx
28 lines
788 B
Bash
Executable File
28 lines
788 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
|
|
|
|
ARCH="$(uname -m)"
|
|
|
|
DEPS_LOCAL="/deps/local"
|
|
WORKSPACE="$DRONE_WORKSPACE"
|
|
|
|
DEBUG_STAGING="$WORKSPACE/_debug/staging"
|
|
RELEASE_STAGING="$WORKSPACE/_release/staging"
|
|
|
|
export PATH=$DEPS_LOCAL/bin:$PATH
|