Skip to content

Commit

Permalink
CI: Try to install newer wasm2wat & wat2wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
assafmo committed Aug 8, 2023
1 parent 2db8a95 commit dc1fd07
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions scripts/install-wasm-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,7 @@ cargo install pwasm-utils-cli --bin wasm-prune --force
if [[ "$OSTYPE" == "linux-gnu" ]]; then
set -e

tmp=`mktemp -d`
pushd $tmp > /dev/null

echo "Downloading wabt-1.0.33-ubuntu.tar.gz";
wget https://github.com/WebAssembly/wabt/releases/download/1.0.33/wabt-1.0.33-ubuntu.tar.gz

tar --strip-components=2 -xf wabt-1.0.33-ubuntu.tar.gz wabt-1.0.33/bin/wasm2wat wabt-1.0.33/bin/wat2wasm

echo "Installing wasm2wat & wat2wasm into ~/.cargo/bin"
cp -f wasm2wat ~/.cargo/bin/
cp -f wat2wasm ~/.cargo/bin/

popd > /dev/null
apt-get install -y wabt
fi

echo ""
Expand Down

0 comments on commit dc1fd07

Please sign in to comment.