~ knotless Search/
↑↓ move↵ open⇧↵ all results

zat.dev/zds

atproto pds · mirror of https://tangled.org/zat.dev/zds

0
0
12 lines · 564 B Raw History
#!/usr/bin/env sh
set -eu
# Keep the pinned compiler beside Zig's build cache for reuse between steps.
mkdir -p .ci-cache
if [ ! -x .ci-cache/zig/zig ]; then
  curl -fsSL --retry 3 https://ziglang.org/download/0.17.0/zig-x86_64-linux-0.17.0.tar.xz -o .ci-cache/zig.tar.xz
  printf '%s  %s\n' 1cbe9df9f27e6b78d14ccbca43b6703a404ef79ef1c463de901d7f088d4e2026 .ci-cache/zig.tar.xz | sha256sum -c -
  mkdir -p .ci-cache/zig
  tar -xJf .ci-cache/zig.tar.xz -C .ci-cache/zig --strip-components=1
  rm .ci-cache/zig.tar.xz
fi
test "$(.ci-cache/zig/zig version)" = 0.17.0