Azure Pipelines: update Zig to 0.10.0 to compile to WebAssembly/WASI

This commit is contained in:
Frank Denis 2022-11-14 00:29:25 +01:00
parent b5490b8159
commit c4b1c04c02

View File

@ -16,7 +16,7 @@ jobs:
curl https://get.wasmer.io -sSfL | sh
displayName: Install wasmer
- script: |
curl -sL -o - https://ziglang.org/download/0.8.1/zig-linux-x86_64-0.8.1.tar.xz | tar xJ -f - -C /opt/
curl -sL -o - https://ziglang.org/download/0.10.0/zig-linux-x86_64-0.10.0.tar.xz | tar xJ -f - -C /opt/
sudo mv /opt/zig-* /opt/zig
env PATH=/opt/zig/bin:/opt/zig:$PATH
displayName: Install the Zig SDK