From 46e56da17826f5960f9dbc4dcf37f057fbf0fe07 Mon Sep 17 00:00:00 2001 From: Sveinung Rundhovde Date: Wed, 31 Jul 2024 12:40:49 +0200 Subject: [PATCH] Build for MacOS x86 on macos-13 runner The latest runner for MacOS is running on arm64 architecture. The cibuildwheel cross compiling for x86 fails, so we build these wheels on the latest MacOS runner that runs on x86 (macos-13). --- .github/workflows/wheels.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yaml b/.github/workflows/wheels.yaml index c974a0e4..a8510fbf 100644 --- a/.github/workflows/wheels.yaml +++ b/.github/workflows/wheels.yaml @@ -23,7 +23,9 @@ jobs: arch: aarch64 - os: ubuntu-20.04 arch: i686 - - os: macos-latest + # macos-latest runs on arm64 architecture and cibuildwheel cross + # compiling for x86_64 fails + - os: macos-13 arch: x86_64 - os: macos-latest arch: arm64