From 89b97b14c35f9d7da367dfbc4adff56d2daa17d7 Mon Sep 17 00:00:00 2001 From: MORITA Kazutaka Date: Sun, 10 May 2020 08:01:12 +0900 Subject: [PATCH] [CI] Install wasmtime for WebAssembly tests (#5494) --- docker/install/ubuntu_install_rust.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/install/ubuntu_install_rust.sh b/docker/install/ubuntu_install_rust.sh index ff22ea31cdd9..310e6507e3f3 100755 --- a/docker/install/ubuntu_install_rust.sh +++ b/docker/install/ubuntu_install_rust.sh @@ -29,5 +29,11 @@ curl -s -S -L https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default . $CARGO_HOME/env rustup component add rustfmt +# install wasmtime +export WASMTIME_HOME=/opt/wasmtime +curl https://wasmtime.dev/install.sh -sSf | bash +export PATH="${WASMTIME_HOME}/bin:${PATH}" +rustup target add wasm32-wasi + # make rust usable by all users chmod -R a+w /opt/rust