CI: test Linux native & cross-compilation support

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-07-29 19:15:05 -07:00 committed by Stephen Gutekanst
parent b1581b684c
commit cea9642195
2 changed files with 8 additions and 3 deletions

View file

@ -25,9 +25,8 @@ jobs:
AGREE: true AGREE: true
- name: x86_64-linux -> x86_64-windows - name: x86_64-linux -> x86_64-windows
run: zig build test -Dtarget=x86_64-windows run: zig build test -Dtarget=x86_64-windows
# 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
- name: webgpu::test - name: webgpu::test
run: cd webgpu && zig build test run: cd webgpu && zig build test
x86_64-windows: x86_64-windows:
@ -58,6 +57,8 @@ jobs:
run: zig build install -Dtarget=aarch64-macos run: zig build install -Dtarget=aarch64-macos
env: env:
AGREE: true AGREE: true
- name: x86_64-windows -> x86_64-linux
run: zig build test -Dtarget=x86_64-linux
- name: mach::test - name: mach::test
run: zig build test run: zig build test
- name: webgpu::test - name: webgpu::test
@ -84,5 +85,7 @@ jobs:
AGREE: true AGREE: true
- name: x86_64-macos -> x86_64-windows - name: x86_64-macos -> x86_64-windows
run: zig build test -Dtarget=x86_64-windows run: zig build test -Dtarget=x86_64-windows
- name: x86_64-macos -> x86_64-linux
run: zig build test -Dtarget=x86_64-linux
- name: webgpu::test - name: webgpu::test
run: cd webgpu && zig build test run: cd webgpu && zig build test

View file

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