From f2c4131c8b07b2610d2405c73465024956dcfe5e Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sun, 28 Feb 2021 17:42:42 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d007caad3a..548eec0966 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,9 @@ on: jobs: macos: runs-on: macos-latest + strategy: + matrix: + arch: [arm64, arm] steps: - uses: actions/checkout@v2 - run: brew install ninja @@ -23,7 +26,7 @@ jobs: shell: bash strategy: matrix: - arch: [x64, x86, arm64] + arch: [arm] env: EXTRA_FLAGS: 'target_cpu="${{ matrix.arch }}"' steps: @@ -34,3 +37,4 @@ jobs: - run: ./build.sh working-directory: src - run: ./tests/basic.sh src/out/Release/naive + if: ${{ matrix.arch != 'arm' }}