Skip to content

Commit

Permalink
test out native builds on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcAntoineSchmidtQC committed Dec 5, 2024
1 parent 326e126 commit d6f0471
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-13]
os: [ubuntu-20.04, windows-2019, macos-13, macos-14]

steps:
- uses: actions/checkout@v4
Expand All @@ -28,15 +28,11 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_ARCHS_LINUX: auto
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_TEST_SKIP: '*-macosx_arm64'
- name: Build wheels (release)
if: github.event_name == 'release' && github.event.action == 'published'
uses: pypa/[email protected]
env:
CIBW_ARCHS_LINUX: x86_64 aarch64
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_TEST_SKIP: '*-macosx_arm64'
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
Expand Down
6 changes: 0 additions & 6 deletions build_tools/prepare_macos_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,4 @@

set -exuo pipefail

if [[ "${ARCHFLAGS:-}" == *arm64 ]]; then
export CONDA_SUBDIR="osx-arm64"
else
export CONDA_SUBDIR="osx-64"
fi

/Users/runner/micromamba-bin/micromamba create -y -p $MAMBA_ROOT_PREFIX/envs/build -c conda-forge jemalloc-local "xsimd<11|>12.1" llvm-openmp

0 comments on commit d6f0471

Please sign in to comment.