ci: use mirror for zig tarball downloads
Eat Github's resources rather than the Zig Software Foundation's resources!
This commit is contained in:
parent
8da69699e9
commit
16c938111d
@ -40,7 +40,8 @@ tasks:
|
|||||||
sudo ninja -C build/ install
|
sudo ninja -C build/ install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
wget -nv https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
|
# Eat Github's resources rather than the Zig Software Foundation's resources!
|
||||||
|
wget -nv https://github.com/ifreund/zig-tarball-mirror/releases/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
|
||||||
tar xf zig-linux-x86_64-0.13.0.tar.xz
|
tar xf zig-linux-x86_64-0.13.0.tar.xz
|
||||||
sudo mv zig-linux-x86_64-0.13.0/zig /usr/bin/
|
sudo mv zig-linux-x86_64-0.13.0/zig /usr/bin/
|
||||||
sudo mv zig-linux-x86_64-0.13.0/lib /usr/lib/zig
|
sudo mv zig-linux-x86_64-0.13.0/lib /usr/lib/zig
|
||||||
|
@ -38,7 +38,8 @@ tasks:
|
|||||||
sudo ninja -C build/ install
|
sudo ninja -C build/ install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
wget -nv https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
|
# Eat Github's resources rather than the Zig Software Foundation's resources!
|
||||||
|
wget -nv https://github.com/ifreund/zig-tarball-mirror/releases/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
|
||||||
tar xf zig-linux-x86_64-0.13.0.tar.xz
|
tar xf zig-linux-x86_64-0.13.0.tar.xz
|
||||||
sudo mv zig-linux-x86_64-0.13.0/zig /usr/bin/
|
sudo mv zig-linux-x86_64-0.13.0/zig /usr/bin/
|
||||||
sudo mv zig-linux-x86_64-0.13.0/lib /usr/lib/zig
|
sudo mv zig-linux-x86_64-0.13.0/lib /usr/lib/zig
|
||||||
|
Loading…
Reference in New Issue
Block a user