From 204e67b4cc68d9d8ff71a068b90b2e50b4970a92 Mon Sep 17 00:00:00 2001 From: Weizheng Lu Date: Thu, 11 Jul 2024 12:28:21 +0800 Subject: [PATCH] BLD: Fix macos build error (#94) --- .github/workflows/build-wheel.yaml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-wheel.yaml b/.github/workflows/build-wheel.yaml index 16f0ac3c..8debef0d 100644 --- a/.github/workflows/build-wheel.yaml +++ b/.github/workflows/build-wheel.yaml @@ -35,15 +35,18 @@ jobs: - os: ubuntu-latest arch: aarch64 requires-python: ">=3.11,<3.12" - - os: macos-latest - arch: arm64 - requires-python: ">=3.9,<3.10" - - os: macos-latest - arch: arm64 - requires-python: ">=3.10,<3.11" - - os: macos-latest - arch: arm64 - requires-python: ">=3.11,<3.12" + - os: macos-12 + arch: x86_64 + requires-python: ">=3.8,<3.10" + - os: macos-12 + arch: x86_64 + requires-python: ">=3.10,<3.12" + - os: macos-12 + arch: universal2 + requires-python: ">=3.8,<3.10" + - os: macos-12 + arch: universal2 + requires-python: ">=3.10,<3.12" steps: - uses: actions/checkout@v3