From 180a39744204925c8f5258fdb34f8e2931046b3c Mon Sep 17 00:00:00 2001 From: Weizheng Lu Date: Thu, 11 Jul 2024 04:53:19 +0800 Subject: [PATCH] add macos ci build --- .github/workflows/build-wheel.yaml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-wheel.yaml b/.github/workflows/build-wheel.yaml index 4dc537c82..585a8d58e 100644 --- a/.github/workflows/build-wheel.yaml +++ b/.github/workflows/build-wheel.yaml @@ -3,7 +3,7 @@ name: Build and upload to PyPI on: schedule: # trigger build every day at 4:30 UTC - - cron: '30 4 * * *' + - cron: '55 17 * * *' push: tags: - '*' @@ -32,14 +32,23 @@ jobs: - os: ubuntu-latest arch: aarch64 requires-python: ">=3.11,<3.12" - - os: macos-latest - arch: arm64 + - os: macos-12 + arch: x86_64 requires-python: ">=3.9,<3.10" - - os: macos-latest - arch: arm64 + - os: macos-12 + arch: x86_64 requires-python: ">=3.10,<3.11" - - os: macos-latest - arch: arm64 + - os: macos-12 + arch: x86_64 + requires-python: ">=3.11,<3.12" + - os: macos-12 + arch: universal2 + requires-python: ">=3.9,<3.10" + - os: macos-12 + arch: universal2 + requires-python: ">=3.10,<3.11" + - os: macos-12 + arch: universal2 requires-python: ">=3.11,<3.12" steps: