Azure Pipelines: use the recommended way to add wasmer to env

This commit is contained in:
Frank Denis 2023-02-07 13:22:44 +01:00
parent 410d0a38b7
commit ec51ee03f8

View File

@ -21,7 +21,8 @@ jobs:
export PATH=/opt/zig/bin:/opt/zig:$PATH export PATH=/opt/zig/bin:/opt/zig:$PATH
displayName: Install the Zig SDK displayName: Install the Zig SDK
- script: | - script: |
env WASMER_DIR=${HOME}/.wasmer PATH=${HOME}/.wasmer/bin:${HOME}/.cargo/bin:$PATH dist-build/wasm32-wasi.sh . ~/.wasmer/wasmer.sh
dist-build/wasm32-wasi.sh
displayName: Compile libsodium displayName: Compile libsodium
- task: PublishBuildArtifacts@1 - task: PublishBuildArtifacts@1
condition: not(canceled()) condition: not(canceled())