Skip to content

Commit 2aa49e9

Browse files
committed
fixup! .github/workflows/ci.yml: exercise 'zig build test'.
1 parent cbf541b commit 2aa49e9

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,13 @@ jobs:
271271
272272
- name: Zig
273273
run: |
274-
base_dir=zig-x86_64-linux-0.15.2
275-
curl -sSf https://ziglang.org/download/0.15.2/$base_dir.tar.xz | unxz -c | tar xf -
274+
ver=0.15.2
275+
base_dir=zig-x86_64-linux-$ver
276+
curl -sSf https://ziglang.org/download/$ver/$base_dir.tar.xz | unxz -c | tar xf -
276277
if [ -x $base_dir/zig ]; then
277-
$base_dir/zig build test
278+
PATH=$PWD/$base_dir:$PATH
279+
zig build test
280+
curl https://wasmtime.dev/install.sh -sSf | bash
281+
PATH=~/.wasmtime/bin:$PATH
282+
zig build test -Dtarget=wasm32-wasi -fwasmtime
278283
fi

0 commit comments

Comments
 (0)