From 998f92d869e86c730a4a63d79ba1d493d22a988a Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Thu, 7 Nov 2024 17:16:24 -0700 Subject: [PATCH] .github/build: Update macOS runner, add aarch64-darwin The new hosted GitHub runners are Apple Silicon-based only, and we build x86_64-darwin packages via Rosetta 2. --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6af53b5..2e5d280 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,11 @@ jobs: image: ubuntu-latest system: aarch64-linux - label: x86_64-darwin - image: macos-12 + image: macos-latest + system: x86_64-darwin + - label: aarch64-darwin + image: macos-latest + system: aarch64-darwin name: ${{ matrix.label }} runs-on: ${{ matrix.image }} @@ -25,7 +29,7 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v2.1.0 - if: matrix.system != '' + if: matrix.system == 'aarch64-linux' - name: Generate System Flags run: |