Skip to content

Commit

Permalink
chore(ci): fix install zig (#13933)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored Dec 6, 2023
1 parent 35f129c commit 05c7969
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/setup/dev_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ function install_ziglang {
apt-get | yum | dnf | pacman)
curl -sSfLo /tmp/zig.tar.xz "https://ziglang.org/download/0.11.0/zig-linux-${arch}-0.11.0.tar.xz"
tar -xf /tmp/zig.tar.xz -C /tmp
"${PRE_COMMAND[@]}" cp "/tmp/zig-linux-${arch}-0.11.0/zig" /usr/local/bin/
"${PRE_COMMAND[@]}" mv "/tmp/zig-linux-${arch}-0.11.0/zig" /usr/local/bin/
"${PRE_COMMAND[@]}" chmod +x /usr/local/bin/zig
"${PRE_COMMAND[@]}" mv "/tmp/zig-linux-${arch}-0.11.0/lib" /usr/local/lib/zig
rm -rf /tmp/zig*
;;
brew)
Expand Down

0 comments on commit 05c7969

Please sign in to comment.