From 5a9d93d3712ca42aba4f5d8c462f662e6cb110d3 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 13 Sep 2019 17:34:48 +0200 Subject: [PATCH] The wasmer path is lost between tasks --- azure-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7083333d..307d3bd3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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())