diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index fbffbb6b..6573c9b1 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -19,6 +19,8 @@ jobs: uses: docker/setup-qemu-action@v2 with: platforms: all + - name: Set up micromamba + uses: mamba-org/setup-micromamba@d05808540d968a55ca33c798e0661fb98f533c73 - name: Build wheels uses: pypa/cibuildwheel@v2.14.1 env: diff --git a/.github/workflows/build_wheels_release.yml b/.github/workflows/build_wheels_release.yml index 0302cd50..5f80ee51 100644 --- a/.github/workflows/build_wheels_release.yml +++ b/.github/workflows/build_wheels_release.yml @@ -20,11 +20,14 @@ jobs: uses: docker/setup-qemu-action@v2 with: platforms: all + - name: Set up micromamba + uses: mamba-org/setup-micromamba@d05808540d968a55ca33c798e0661fb98f533c73 - name: Build wheels uses: pypa/cibuildwheel@v2.14.1 env: CIBW_ARCHS_LINUX: auto aarch64 CIBW_ARCHS_MACOS: x86_64 arm64 + CIBW_TEST_SKIP: '*-macosx_arm64' - uses: actions/upload-artifact@v3 with: diff --git a/build_tools/prepare_macos_wheel.sh b/build_tools/prepare_macos_wheel.sh index 6f8c8c35..b3469374 100644 --- a/build_tools/prepare_macos_wheel.sh +++ b/build_tools/prepare_macos_wheel.sh @@ -8,4 +8,4 @@ else CONDA_CHANNEL="conda-forge/osx-64" fi -conda create -y -n build -c $CONDA_CHANNEL jemalloc-local xsimd llvm-openmp +micromamba create -y -p $CONDA/envs/build -c $CONDA_CHANNEL jemalloc-local xsimd llvm-openmp