pkarashchenko commented on a change in pull request #5732: URL: https://github.com/apache/incubator-nuttx/pull/5732#discussion_r826106927
########## File path: tools/ci/cibuild.sh ########## @@ -381,6 +381,26 @@ function rust { fi } +function zig { + mkdir -p "${prebuilt}"/zig + add_path "${prebuilt}"/zig + + if ! type zig &> /dev/null; then + case ${os} in + Darwin) + brew install zig + ;; + Linux) + # Currently Debian don't install zig (only built) + export ZIG_HOME=${prebuilt}/zig + cd /tmp + wget --quiet https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz Review comment: with `curl -SL` you can do all in a single line without need to do `tar && rm && mv && rm -rf`. I did it some time ago and it was working. Maybe this is not the case here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org