Skip to content

Commit

Permalink
ci: Handle binaries for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Sep 2, 2020
1 parent e3ee791 commit c08348d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,13 @@ commands:
if type wast2json; then
wast2json --version
else
os=ubuntu
if [ $OSTYPE = darwin ]; then
os=macos
fi
echo $os
cd /usr/local
curl -L https://github.com/WebAssembly/wabt/releases/download/1.0.19/wabt-1.0.19-ubuntu.tar.gz | sudo tar xz --strip 1
curl -L https://github.com/WebAssembly/wabt/releases/download/1.0.19/wabt-1.0.19-$os.tar.gz | sudo tar xz --strip 1
fi
- run:
name: "Download spectest files"
Expand Down

0 comments on commit c08348d

Please sign in to comment.