The wasmer path is lost between tasks
This commit is contained in:
parent
67f2f10dd6
commit
78bb279b6c
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user