ci: add aarch64 darwin build target and skip on test

Signed-off-by: Wei Zhang <kweizh@gmail.com>
Signed-off-by: zwPapEr <zw.paper@gmail.com>
This commit is contained in:
Wei Zhang
2023-08-20 00:09:16 +08:00
parent 8acaabec72
commit 60f33e527d
2 changed files with 4 additions and 1 deletions

View File

@@ -75,6 +75,7 @@ jobs:
- { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , use-cross: use-cross }
- { os: ubuntu-latest , target: x86_64-unknown-linux-musl , use-cross: use-cross }
- { os: macos-latest , target: x86_64-apple-darwin }
- { os: macos-latest , target: aarch64-apple-darwin }
- { os: windows-latest , target: i686-pc-windows-gnu }
- { os: windows-latest , target: i686-pc-windows-msvc }
- { os: windows-latest , target: x86_64-pc-windows-gnu }
@@ -201,6 +202,7 @@ jobs:
command: build
args: --release --target=${{ matrix.job.target }}
- name: Test
if: matrix.job.target != 'aarch64-apple-darwin'
uses: actions-rs/cargo@v1
with:
use-cross: ${{ steps.vars.outputs.CARGO_USE_CROSS }}