#Binaries very slow to download from ziglang.org

1 messages · Page 1 of 1 (latest)

half verge
#

I'm having a rough time building my zig project in CI (in GitHub Actions) because the zig binaries are very slow to download, and the connection ends up being terminated. This started happening yesterday, from what I can tell. Are there any alternative archives for the binaries? FWIW it seems to be faster to download to my machine than to the GitHub runners, but it's still quite slow to my machine as well, only ~100KB/s.

#

Specifically what I'm doing is

wget https://ziglang.org/download/0.16.0/zig-x86_64-linux-0.16.0.tar.xz
sonic sleet
#

it will download from mirrors

half verge
#

Oh perfect! Thank you!

sonic sleet
half verge
#

I'm trying <mirror>/<file> as described there, is that correct?

curl https://zigmirror.hryx.net/zig-x86_64-linux-0.14.1.tar.xz

getting invalid path for this one

half verge
half verge
#

missing the /zig/, got it! That worked - thank you!!

#

sweet, that was so much faster

#

Oh the mirror URL even included /zig/, my bad

#

Thanks a lot, both!

#

Will switch my action to use setup-zig

quaint osprey
#

setup-zig also does caching, very important