CI: fix windows Zig path

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-09-11 20:52:29 -07:00 committed by Stephen Gutekanst
parent 6446dd782e
commit 464dc5d8ea

View file

@ -52,7 +52,7 @@ jobs:
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.9.0-dev.952+0c091feb5.zip" -OutFile "C:\zig.zip" Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.9.0-dev.952+0c091feb5.zip" -OutFile "C:\zig.zip"
cd C:\ cd C:\
7z x zig.zip 7z x zig.zip
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.9.0-dev.642+b87105c92\" Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.9.0-dev.952+0c091feb5\"
- name: x86_64-windows -> x86_64-macos - name: x86_64-windows -> x86_64-macos
# TODO(slimsag): bug: `zig build test -Dtarget=x86_64-macos` fails on Windows with `error: Unexpected` # TODO(slimsag): bug: `zig build test -Dtarget=x86_64-macos` fails on Windows with `error: Unexpected`
# Maybe an issue in final linking? Maybe it's trying to run the Mac binary? Needs investigation # Maybe an issue in final linking? Maybe it's trying to run the Mac binary? Needs investigation