CI: use install, not test, target on Windows

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-07-11 15:02:18 -07:00 committed by Stephen Gutekanst
parent bfe841880d
commit 395fad07a6

View file

@ -33,7 +33,9 @@ jobs:
7z x zig.zip 7z x zig.zip
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.9.0-dev.441+7b5d139fd\" Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.9.0-dev.441+7b5d139fd\"
- name: mach::test cross Windows->MacOS - name: mach::test cross Windows->MacOS
run: zig build test -Dtarget=x86_64-macos # 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
run: zig build install -Dtarget=x86_64-macos
env: env:
AGREE: true AGREE: true
- name: mach::test - name: mach::test