Update wasi-sdk and use rust-beta, currently required to build wasmtime

This commit is contained in:
Frank Denis 2019-08-29 18:07:12 +02:00
parent 203220116a
commit 7ce1e62919

View File

@ -13,13 +13,13 @@ jobs:
sudo apt-get install build-essential curl cmake sudo apt-get install build-essential curl cmake
displayName: Install system packages displayName: Install system packages
- script: | - script: |
curl https://sh.rustup.rs -sSf | sh -s -- -y curl https://sh.rustup.rs -sSf | sh -s -- -y --channel=beta
source ${HOME}/.cargo/env source ${HOME}/.cargo/env
git clone --recursive https://github.com/CraneStation/wasmtime.git git clone --recursive https://github.com/CraneStation/wasmtime.git
(cd wasmtime && cargo install --path .) (cd wasmtime && cargo install --path .)
displayName: Install wasmtime displayName: Install wasmtime
- script: | - script: |
curl -sL -o wasi-sdk.deb https://github.com/CraneStation/wasi-sdk/releases/download/wasi-sdk-5/wasi-sdk_5.0_amd64.deb curl -sL -o wasi-sdk.deb https://github.com/CraneStation/wasi-sdk/releases/download/wasi-sdk-6/wasi-sdk_6.0_amd64.deb
sudo dpkg -i wasi-sdk.deb && rm -f wasi-sdk.deb sudo dpkg -i wasi-sdk.deb && rm -f wasi-sdk.deb
sudo ln -s /opt/wasi-sdk/share/*sysroot* /opt/wasi-sysroot sudo ln -s /opt/wasi-sdk/share/*sysroot* /opt/wasi-sysroot
displayName: Install the WASI SDK displayName: Install the WASI SDK