Skip to content

Commit bbfb82e

Browse files
committed
CI: Try to install newer wasm2wat & wat2wasm: Vol. 4
1 parent a7285b8 commit bbfb82e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

scripts/install-wasm-tools.sh

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

84-
sudo apt-get install -y wabt
84+
tmp=`mktemp -d`
85+
pushd $tmp > /dev/null
86+
87+
echo "Downloading wabt_1.0.33-1_amd64.deb";
88+
wget 'https://launchpad.net/ubuntu/+archive/primary/+files/wabt_1.0.33-1_amd64.deb'
89+
90+
echo "Installing wasm2wat & wat2wasm into ~/.cargo/bin"
91+
sudo dpkg -i wabt_1.0.33-1_amd64.deb
92+
93+
popd > /dev/null
8594
fi
8695

8796
echo ""

0 commit comments

Comments
 (0)