1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

The wasmer path is lost between tasks

This commit is contained in:
Frank Denis 2019-09-13 17:34:48 +02:00
parent ea92e2e929
commit 5a9d93d371

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())