From 69345b42b7c4db8ae190eb3a3f98d54ad0fdd104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20And=C3=A9n?= Date: Tue, 9 Jul 2024 11:35:56 +0200 Subject: [PATCH] ci: move macos-arm64 out --- .github/workflows/python_skbuild_wheels.yml | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/python_skbuild_wheels.yml b/.github/workflows/python_skbuild_wheels.yml index 774f8d923..e69334912 100644 --- a/.github/workflows/python_skbuild_wheels.yml +++ b/.github/workflows/python_skbuild_wheels.yml @@ -33,6 +33,30 @@ jobs: name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} path: ./wheelhouse/*.whl + build_wheels_macos_arm64: + name: Build wheels on macos-14 + runs-on: macos-14 + + steps: + - uses: actions/checkout@v4 + + - name: Build wheels + uses: pypa/cibuildwheel@v2.19.2 + env: + CIBW_BUILD_VERBOSITY: 1 + CIBW_SKIP: "pp*" + CIBW_ARCHS_MACOS: "arm64" + CIBW_BEFORE_ALL_MACOS: brew install gcc@14 fftw + CIBW_ENVIRONMENT_MACOS: > + CC=clang + CXX=clang++ + MACOSX_DEPLOYMENT_TARGET=11.0 + + - uses: actions/upload-artifact@v4 + with: + name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} + path: ./wheelhouse/*.whl + build_wheels_win: name: Build wheels on windows runs-on: windows-latest