diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-11-08 11:04:33 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-11-08 11:04:33 -0700 |
| commit | a65ba6c85a6c01aecf28e39ba6717fea15757521 (patch) | |
| tree | 063509c1f6f0ab1924a789d2ded08edd08f4c3dc /ci/drone/linux_script_build | |
| parent | 36e618aef138e9c3612a74f144358cb9574e695f (diff) | |
| download | zig-a65ba6c85a6c01aecf28e39ba6717fea15757521.tar.gz zig-a65ba6c85a6c01aecf28e39ba6717fea15757521.zip | |
CI: stop using cloud.drone.io
This service stopped working two days ago for unknown reasons. Until it
is determined how to get it working again, or we switch to a different
CI provider for aarch64, this CI test coverage is disabled so that
we can continue to use the CI for other targets.
Diffstat (limited to 'ci/drone/linux_script_build')
| -rwxr-xr-x | ci/drone/linux_script_build | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/ci/drone/linux_script_build b/ci/drone/linux_script_build deleted file mode 100755 index 022de1d217..0000000000 --- a/ci/drone/linux_script_build +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -set -x -set -e - -ARCH="$(uname -m)" -INSTALL_PREFIX="$DRONE_WORKSPACE/stage3-release" - -export ZIG_GLOBAL_CACHE_DIR="$DRONE_WORKSPACE/zig-cache" - -PREFIX="/deps/local" -ZIG="$PREFIX/bin/zig" -TARGET="$ARCH-linux-musl" -MCPU="baseline" - -export CC="$ZIG cc -target $TARGET -mcpu=$MCPU" -export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU" - -# The `CMAKE_AR` parameter will consider any spaces to -# be part of the executable path rather than CLI args, so we have -# to create wrapper scripts for `zig ar` and zig ranlib`. -cat <<'ENDFILE' >$PREFIX/bin/ar -#!/bin/sh -/deps/local/bin/zig ar $@ -ENDFILE - -cat <<'ENDFILE' >$PREFIX/bin/ranlib -#!/bin/sh -/deps/local/bin/zig ranlib $@ -ENDFILE - -chmod +x "$PREFIX/bin/ar" -chmod +x "$PREFIX/bin/ranlib" - -# 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_PREFIX_PATH="$PREFIX" \ - -DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX" \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_AR="$PREFIX/bin/ar" \ - -DCMAKE_RANLIB="$PREFIX/bin/ranlib" \ - -DZIG_TARGET_TRIPLE="$TARGET" \ - -DZIG_TARGET_MCPU="$MCPU" \ - -DZIG_STATIC=ON \ - -GNinja - -# Now CMake will use Zig as the C/C++ compiler. We reset the environment variables -# so that installation and testing do not get affected by them. -unset CC -unset CXX -samu install |
