CI: add windows cross compilation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
66a41a00e8
commit
ddc470c27b
2 changed files with 10 additions and 0 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
6
.github/workflows/m1_ci.yml
vendored
6
.github/workflows/m1_ci.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue