commit 6eba65bd7f4af9187667bbd1b1d948bcbeafe03f (tree)
parent bf5be65be69cc0ffb23bfd211aa6880aad03d2b6
Author: Andrew Kelley <andrew@ziglang.org>
Date: Thu, 24 Oct 2019 21:40:26 -0400
ci: add aarch64 to download page
Diffstat:
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/ci/azure/update_download_page b/ci/azure/update_download_page
@@ -22,6 +22,12 @@ tar cfJ "$SRC_TARBALL" "$SRCTARBALLDIR"
export SRC_SHASUM=$(sha256sum $SRC_TARBALL | cut '-d ' -f1)
export SRC_BYTESIZE=$(wc -c < $SRC_TARBALL)
+# the aarch64 build has to be there too
+AARCH64_LINUX_JSON=$(curl --fail "https://ziglang.org/builds/aarch64-linux-$VERSION.json" || exit 1)
+export AARCH64_LINUX_TARBALL="$(echo "$AARCH64_LINUX_JSON" | jq .tarball -r)"
+export AARCH64_LINUX_BYTESIZE="$(echo "$AARCH64_LINUX_JSON" | jq .size -r)"
+export AARCH64_LINUX_SHASUM="$(echo "$AARCH64_LINUX_JSON" | jq .shasum -r)"
+
# the freebsd build has to be there too
FREEBSD_JSON=$(curl --fail "https://ziglang.org/builds/freebsd-$VERSION.json" || exit 1)
export FREEBSD_TARBALL="$(echo "$FREEBSD_JSON" | jq .tarball -r)"
diff --git a/ci/drone/linux_script b/ci/drone/linux_script
@@ -8,7 +8,7 @@ BUILDDIR="$(pwd)"
DISTDIR="$(pwd)/dist"
apk update
-apk add py3-pip xz
+apk add py3-pip xz perl-utils
pip3 install s3cmd
mkdir build
@@ -16,8 +16,7 @@ cd build
cmake .. -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$DISTDIR" -DZIG_STATIC=ON -DCMAKE_PREFIX_PATH=/deps/local
make -j$(nproc) install
-# TODO disabled temporarily to test the CI
-#./zig build test-behavior
+./zig build test-behavior
# TODO figure out why running docs is causing EBADF on dup2 in the child
# ./zig build docs
# TODO full test suite: