From 1f251d4e28013ad2a501b1127d39a3ce1ea13b85 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 10 Jul 2021 14:48:02 -0700 Subject: [PATCH] CI: test Linux->MacOS cross compilation Signed-off-by: Stephen Gutekanst --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4dee9343..3b565b6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,8 @@ jobs: run: | sudo apt install xz-utils sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.9.0-dev.347+628f490c5.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' + - name: mach::test cross Linux->MacOS + run: zig build test -Dtarget=x86_64-macos - name: mach::test run: zig build test - name: webgpu::test