Skip to content

Commit

Permalink
Merge pull request #1587 from sonos/install-dinghy-from-tgz
Browse files Browse the repository at this point in the history
use dinghy from tgz on arm darwin too
  • Loading branch information
kali authored Nov 28, 2024
2 parents 69b5aab + 6753977 commit 5a37c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis/cross.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PATH=$PATH:$HOME/.cargo/bin
which rustup || curl https://sh.rustup.rs -sSf | sh -s -- -y

which cargo-dinghy || ( mkdir -p /tmp/cargo-dinghy
if [ `arch` = x86_64 -o `arch` = i386 ]
if [ `arch` = x86_64 -o `arch` = i386 -o `arch` = arm64 ]
then
cd /tmp/cargo-dinghy
if [ `uname` = "Darwin" ]
Expand All @@ -40,7 +40,7 @@ then
else
NAME=linux
fi
VERSION=0.6.4
VERSION=0.8.0
wget -q https://github.com/snipsco/dinghy/releases/download/$VERSION/cargo-dinghy-$NAME-$VERSION.tgz -O cargo-dinghy.tgz
tar vzxf cargo-dinghy.tgz --strip-components 1
mv cargo-dinghy $HOME/.cargo/bin
Expand Down

0 comments on commit 5a37c7f

Please sign in to comment.