From e5642c54711d99b23cd806f49a54276e9774f7d9 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sun, 25 Jul 2021 16:12:35 -0700 Subject: [PATCH] verify cross compilation: x86_64-macos -> aarch64-macos Signed-off-by: Stephen Gutekanst --- .github/workflows/ci.yml | 4 ++++ README.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14628bbd..16441213 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,5 +57,9 @@ jobs: run: zig build test env: AGREE: true + - name: mach::test cross x86_64-macos -> aarch64-macos + run: zig build test -Dtarget=aarch64-macos + env: + AGREE: true - name: webgpu::test run: cd webgpu && zig build test diff --git a/README.md b/README.md index e2681de2..917a2d07 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Mach is still incredibly early stages, so far we have support for building from | Building for | From macOS x86_64 | From macOS M1/aarch64 | From Linux x86_64 | From Windows x86_64 | |------------------|-------------------|-----------------------|-------------------|---------------------| | macOS x86_64 | ✅ | ✔️ #7 | ✅ | ⚠️ #8 | -| macOS M1/aarch64 | ✔️ | ✅ | ✔️ | ⚠️ #8 | +| macOS M1/aarch64 | ✅ | ✅ | ✔️ | ⚠️ #8 | | Linux x86_64 | 🏃 | 🏃 | 🏃 | 🏃 | | Windows x86_64 | 🏃 | 🏃 | 🏃 | 🏃 | | iOS | 🏃 | 🏃 | 🏃 | 🏃 |