From cea9642195801018af72b8fdba09388665b4c5d9 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Thu, 29 Jul 2021 19:15:05 -0700 Subject: [PATCH] CI: test Linux native & cross-compilation support Signed-off-by: Stephen Gutekanst --- .github/workflows/ci.yml | 9 ++++++--- .github/workflows/m1_ci.yml | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8cbc89bf..a995b933 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,9 +25,8 @@ jobs: 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 - # - name: mach::test - # run: zig build test + - name: mach::test + run: zig build test - name: webgpu::test run: cd webgpu && zig build test x86_64-windows: @@ -58,6 +57,8 @@ jobs: run: zig build install -Dtarget=aarch64-macos env: AGREE: true + - name: x86_64-windows -> x86_64-linux + run: zig build test -Dtarget=x86_64-linux - name: mach::test run: zig build test - name: webgpu::test @@ -84,5 +85,7 @@ jobs: AGREE: true - name: x86_64-macos -> 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 run: cd webgpu && zig build test diff --git a/.github/workflows/m1_ci.yml b/.github/workflows/m1_ci.yml index bf24ca5d..5b09cd83 100644 --- a/.github/workflows/m1_ci.yml +++ b/.github/workflows/m1_ci.yml @@ -29,5 +29,7 @@ jobs: AGREE: true - name: aarch64-macos -> 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 run: cd webgpu && zig build test