Update build.yml

This commit is contained in:
klzgrad 2021-02-28 17:42:42 +08:00 committed by GitHub
parent d0610aa14a
commit f2c4131c8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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' }}