ci: add aarch64 to download page
parent
bf5be65be6
commit
6eba65bd7f
|
@ -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)"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue