| author | |
| committer | |
| log | 6eba65bd7f4af9187667bbd1b1d948bcbeafe03f |
| tree | f0e4b3a3f8de0f625aec4d6bc8e36c6aa1d348e9 |
| parent | bf5be65be69cc0ffb23bfd211aa6880aad03d2b6 |
| signature | Commit is signed but in an unrecognized format. |
2 files changed, 8 insertions(+), 3 deletions(-)
ci/azure/update_download_page+6| ... | @@ -22,6 +22,12 @@ tar cfJ "$SRC_TARBALL" "$SRCTARBALLDIR" | ... | @@ -22,6 +22,12 @@ tar cfJ "$SRC_TARBALL" "$SRCTARBALLDIR" |
| 22 | export SRC_SHASUM=$(sha256sum $SRC_TARBALL | cut '-d ' -f1) | 22 | export SRC_SHASUM=$(sha256sum $SRC_TARBALL | cut '-d ' -f1) |
| 23 | export SRC_BYTESIZE=$(wc -c < $SRC_TARBALL) | 23 | export SRC_BYTESIZE=$(wc -c < $SRC_TARBALL) |
| 24 | 24 | ||
| 25 | # the aarch64 build has to be there too | ||
| 26 | AARCH64_LINUX_JSON=$(curl --fail "https://ziglang.org/builds/aarch64-linux-$VERSION.json" || exit 1) | ||
| 27 | export AARCH64_LINUX_TARBALL="$(echo "$AARCH64_LINUX_JSON" | jq .tarball -r)" | ||
| 28 | export AARCH64_LINUX_BYTESIZE="$(echo "$AARCH64_LINUX_JSON" | jq .size -r)" | ||
| 29 | export AARCH64_LINUX_SHASUM="$(echo "$AARCH64_LINUX_JSON" | jq .shasum -r)" | ||
| 30 | |||
| 25 | # the freebsd build has to be there too | 31 | # the freebsd build has to be there too |
| 26 | FREEBSD_JSON=$(curl --fail "https://ziglang.org/builds/freebsd-$VERSION.json" || exit 1) | 32 | FREEBSD_JSON=$(curl --fail "https://ziglang.org/builds/freebsd-$VERSION.json" || exit 1) |
| 27 | export FREEBSD_TARBALL="$(echo "$FREEBSD_JSON" | jq .tarball -r)" | 33 | export FREEBSD_TARBALL="$(echo "$FREEBSD_JSON" | jq .tarball -r)" |
ci/drone/linux_script+2-3| ... | @@ -8,7 +8,7 @@ BUILDDIR="$(pwd)" | ... | @@ -8,7 +8,7 @@ BUILDDIR="$(pwd)" |
| 8 | DISTDIR="$(pwd)/dist" | 8 | DISTDIR="$(pwd)/dist" |
| 9 | 9 | ||
| 10 | apk update | 10 | apk update |
| 11 | apk add py3-pip xz | 11 | apk add py3-pip xz perl-utils |
| 12 | pip3 install s3cmd | 12 | pip3 install s3cmd |
| 13 | 13 | ||
| 14 | mkdir build | 14 | mkdir build |
| ... | @@ -16,8 +16,7 @@ cd build | ... | @@ -16,8 +16,7 @@ cd build |
| 16 | cmake .. -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$DISTDIR" -DZIG_STATIC=ON -DCMAKE_PREFIX_PATH=/deps/local | 16 | cmake .. -DCMAKE_BUILD_TYPE=Release "-DCMAKE_INSTALL_PREFIX=$DISTDIR" -DZIG_STATIC=ON -DCMAKE_PREFIX_PATH=/deps/local |
| 17 | 17 | ||
| 18 | make -j$(nproc) install | 18 | make -j$(nproc) install |
| 19 | # TODO disabled temporarily to test the CI | 19 | ./zig build test-behavior |
| 20 | #./zig build test-behavior | ||
| 21 | # TODO figure out why running docs is causing EBADF on dup2 in the child | 20 | # TODO figure out why running docs is causing EBADF on dup2 in the child |
| 22 | # ./zig build docs | 21 | # ./zig build docs |
| 23 | # TODO full test suite: | 22 | # TODO full test suite: |