From ddc470c27bfe3cfda57264a0f2ec112150b3db70 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sun, 25 Jul 2021 23:10:16 -0700 Subject: [PATCH] CI: add windows cross compilation Signed-off-by: Stephen Gutekanst --- .github/workflows/ci.yml | 4 ++++ .github/workflows/m1_ci.yml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a68aab4..8cbc89bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,8 @@ jobs: run: zig build test -Dtarget=aarch64-macos env: 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 @@ -80,5 +82,7 @@ jobs: run: zig build test -Dtarget=aarch64-macos env: AGREE: true + - name: x86_64-macos -> x86_64-windows + run: zig build test -Dtarget=x86_64-windows - name: webgpu::test run: cd webgpu && zig build test diff --git a/.github/workflows/m1_ci.yml b/.github/workflows/m1_ci.yml index 89e48647..bf24ca5d 100644 --- a/.github/workflows/m1_ci.yml +++ b/.github/workflows/m1_ci.yml @@ -23,5 +23,11 @@ jobs: run: zig build test env: 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 run: cd webgpu && zig build test