CI: enable Windows -> Mac cross compilation tests

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-09-13 20:03:41 -07:00 committed by Stephen Gutekanst
parent fb5f471d94
commit e5b32a499c

View file

@ -53,15 +53,14 @@ jobs:
cd C:\
7z x zig.zip
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.9.0-dev.959+f011f1393\"
# TODO(windows): `zig build test -Dtarget=x86_64-macos` fails - see hexops/mach#8
# - name: x86_64-windows -> x86_64-macos
# run: zig build install -Dtarget=x86_64-macos
# env:
# AGREE: true
# - name: x86_64-windows -> aarch64-macos
# run: zig build install -Dtarget=aarch64-macos
# env:
# AGREE: true
- name: x86_64-windows -> x86_64-macos
run: zig build test -Dtarget=x86_64-macos
env:
AGREE: true
- name: x86_64-windows -> aarch64-macos
run: zig build test -Dtarget=aarch64-macos
env:
AGREE: true
- name: x86_64-windows -> x86_64-linux
run: zig build test -Dtarget=x86_64-linux
- name: mach::test