From 2970eb1606cf8173801c75f507fa81b1ca8136ad Mon Sep 17 00:00:00 2001 From: Wei Zhang Date: Sun, 20 Aug 2023 00:09:16 +0800 Subject: [PATCH] :sparkles: ci: add aarch64 darwin build target and skip on test Signed-off-by: Wei Zhang --- .github/workflows/CICD.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index a888510a9..bb0605293 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -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 }}