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
|
displayName: Install system packages
|
||||||
- script: |
|
- script: |
|
||||||
curl https://get.wasmer.io -sSfL | sh
|
curl https://get.wasmer.io -sSfL | sh
|
||||||
source ~/.wasmer/wasmer.sh
|
|
||||||
displayName: Install wasmer
|
displayName: Install wasmer
|
||||||
- script: |
|
- script: |
|
||||||
curl -sL -o wasi-sdk.deb https://github.com/CraneStation/wasi-sdk/releases/download/wasi-sdk-6/wasi-sdk_6.0_amd64.deb
|
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
|
sudo ln -s /opt/wasi-sdk/share/*sysroot* /opt/wasi-sysroot
|
||||||
displayName: Install the WASI SDK
|
displayName: Install the WASI SDK
|
||||||
- script: |
|
- 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
|
displayName: Compile libsodium
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
condition: not(canceled())
|
condition: not(canceled())
|
||||||
|
Loading…
Reference in New Issue
Block a user