From 517ee20db01dddae2fbde9ec620920e1cfc8b29f Mon Sep 17 00:00:00 2001 From: Benjamin Klum Date: Fri, 20 Dec 2024 15:25:21 +0100 Subject: [PATCH] Fix macos-aarch64 build --- .github/workflows/macos-aarch64.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/macos-aarch64.yml b/.github/workflows/macos-aarch64.yml index 245d84f8e..4053ebb87 100644 --- a/.github/workflows/macos-aarch64.yml +++ b/.github/workflows/macos-aarch64.yml @@ -16,6 +16,9 @@ jobs: build: name: Build runs-on: macos-latest + env: + # The first aarch64 target + MACOSX_DEPLOYMENT_TARGET: 11.0 steps: # Checkout with Playtime Clip Engine - uses: actions/checkout@v2 @@ -35,12 +38,6 @@ jobs: toolchain: 1.81.0 target: aarch64-apple-darwin override: true - - name: Set SDKROOT - run: echo "SDKROOT=$(xcrun -sdk macosx11.1 --show-sdk-path)" >> $GITHUB_ENV - - name: Set MACOSX_DEPLOYMENT_TARGET - run: echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version)" >> $GITHUB_ENV - # - name: Setup tmate session - # uses: mxschmitt/action-tmate@v2 - name: cargo build uses: actions-rs/cargo@v1 with: