From c24ae38294a3d8920f73f553d93b73300ab1652a Mon Sep 17 00:00:00 2001 From: BTMuli Date: Sat, 9 Dec 2023 14:00:00 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20=E5=A2=9E=E5=8A=A0=20macOS=20arm?= =?UTF-8?q?=20=E5=AE=89=E8=A3=85=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #68 --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93b28593..0375196b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,17 +14,20 @@ jobs: settings: - platform: windows-latest args: "--verbose" + target: "windows" - platform: macos-latest args: "--target x86_64-apple-darwin" + target: "macos x64" - platform: macos-latest args: "--target aarch64-apple-darwin" + target: "macos arm" runs-on: ${{ matrix.settings.platform }} steps: - name: Checkout uses: actions/checkout@v3 - name: Add Rust targets(macOS) - if: matrix.settings.platform == 'macos-latest' + if: matrix.settings.target == "macos arm" run: rustup target add aarch64-apple-darwin - name: Rust setup