Apparently, wasi-sdk-9 only works on Ubuntu 18.04

This commit is contained in:
Frank Denis 2020-04-07 11:00:58 +02:00
parent d0047f9cdf
commit 5ce5f2dce6

View File

@ -7,7 +7,7 @@ pr: none
jobs: jobs:
- job: "wasi" - job: "wasi"
pool: pool:
vmImage: "ubuntu-16.04" vmImage: "ubuntu-18.04"
steps: steps:
- script: | - script: |
sudo apt-get install build-essential curl cmake sudo apt-get install build-essential curl cmake
@ -16,8 +16,8 @@ jobs:
curl https://get.wasmer.io -sSfL | sh curl https://get.wasmer.io -sSfL | sh
displayName: Install wasmer displayName: Install wasmer
- script: | - script: |
curl -sL -o wasi-sdk.deb https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-8/wasi-sdk_8.0_amd64.deb curl -sL -o - https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-9/wasi-sdk-9.0-linux.tar.gz | tar xz -f - -C /opt/
sudo dpkg -i wasi-sdk.deb && rm -f wasi-sdk.deb sudo mv /opt/wasi-sdk-* /opt/wasi-sdk
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
- script: | - script: |