CI: add windows cross compilation

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-07-25 23:10:16 -07:00 committed by Stephen Gutekanst
parent 66a41a00e8
commit ddc470c27b
2 changed files with 10 additions and 0 deletions

View file

@ -23,6 +23,8 @@ jobs:
run: zig build test -Dtarget=aarch64-macos run: zig build test -Dtarget=aarch64-macos
env: env:
AGREE: true AGREE: true
- name: x86_64-linux -> x86_64-windows
run: zig build test -Dtarget=x86_64-windows
# Disabled for now, see https://github.com/hexops/mach/issues/4 # Disabled for now, see https://github.com/hexops/mach/issues/4
# - name: mach::test # - name: mach::test
# run: zig build test # run: zig build test
@ -80,5 +82,7 @@ jobs:
run: zig build test -Dtarget=aarch64-macos run: zig build test -Dtarget=aarch64-macos
env: env:
AGREE: true AGREE: true
- name: x86_64-macos -> x86_64-windows
run: zig build test -Dtarget=x86_64-windows
- name: webgpu::test - name: webgpu::test
run: cd webgpu && zig build test run: cd webgpu && zig build test

View file

@ -23,5 +23,11 @@ jobs:
run: zig build test run: zig build test
env: env:
AGREE: true AGREE: true
- name: aarch64-macos -> x86_64-macos
run: zig build test -Dtarget=x86_64-macos
env:
AGREE: true
- name: aarch64-macos -> x86_64-windows
run: zig build test -Dtarget=x86_64-windows
- name: webgpu::test - name: webgpu::test
run: cd webgpu && zig build test run: cd webgpu && zig build test