The wasmer path is lost between tasks

This commit is contained in:
Frank Denis 2019-09-13 17:34:48 +02:00
parent 67f2f10dd6
commit 78bb279b6c

View File

@ -14,7 +14,6 @@ jobs:
displayName: Install system packages
- script: |
curl https://get.wasmer.io -sSfL | sh
source ~/.wasmer/wasmer.sh
displayName: Install wasmer
- script: |
curl -sL -o wasi-sdk.deb https://github.com/CraneStation/wasi-sdk/releases/download/wasi-sdk-6/wasi-sdk_6.0_amd64.deb
@ -22,7 +21,7 @@ jobs:
sudo ln -s /opt/wasi-sdk/share/*sysroot* /opt/wasi-sysroot
displayName: Install the WASI SDK
- script: |
env PATH=/opt/wasi-sdk/bin:${HOME}/.cargo/bin:$PATH dist-build/wasm32-wasi.sh
env WASMER_DIR=${HOME}/.wasmer PATH=${HOME}/.wasmer/bin:/opt/wasi-sdk/bin:${HOME}/.cargo/bin:$PATH dist-build/wasm32-wasi.sh
displayName: Compile libsodium
- task: PublishBuildArtifacts@1
condition: not(canceled())