Skip to content

Commit f64e2cf

Browse files
committed
CI: Try to install newer wasm2wat & wat2wasm
1 parent ef979e1 commit f64e2cf

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

scripts/install-wasm-tools.sh

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,7 @@ cargo install pwasm-utils-cli --bin wasm-prune --force
8181
if [[ "$OSTYPE" == "linux-gnu" ]]; then
8282
set -e
8383

84-
tmp=`mktemp -d`
85-
pushd $tmp > /dev/null
86-
87-
echo "Downloading wabt-1.0.33-ubuntu.tar.gz";
88-
wget https://github.com/WebAssembly/wabt/releases/download/1.0.33/wabt-1.0.33-ubuntu.tar.gz
89-
90-
tar --strip-components=2 -xf wabt-1.0.33-ubuntu.tar.gz wabt-1.0.33/bin/wasm2wat wabt-1.0.33/bin/wat2wasm
91-
92-
echo "Installing wasm2wat & wat2wasm into ~/.cargo/bin"
93-
cp -f wasm2wat ~/.cargo/bin/
94-
cp -f wat2wasm ~/.cargo/bin/
95-
96-
popd > /dev/null
84+
apt-get install -y wabt
9785
fi
9886

9987
echo ""

0 commit comments

Comments
 (0)