Skip to content

Commit

Permalink
ci: fix macos and aarch64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
aszs committed Oct 4, 2024
1 parent 514ba01 commit 7295384
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,6 @@ jobs:
pip install -U setuptools-rust
python setup.py sdist
- name: Set up QEMU
if: matrix.os == 'ubuntu'
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: build ${{ matrix.platform || matrix.os }} binaries
run: cibuildwheel --output-dir dist
env:
Expand All @@ -372,13 +366,13 @@ jobs:
# CIBW_TEST_SKIP: '*-macosx_arm64'
# CIBW_TEST_REQUIRES: pytest
# CIBW_TEST_COMMAND: 'pytest {project}/tests -s'
CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"'
CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH" MACOSX_DEPLOYMENT_TARGET=10.12'
CIBW_ENVIRONMENT_WINDOWS: 'PATH="$UserProfile\.cargo\bin;$PATH"'
CIBW_ARCHS_MACOS: "universal2"
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
CIBW_MUSLLINUX_X86_64_IMAGE: musllinux_1_1
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
CIBW_MANYLINUX_AARCH64_IMAGE: quay.io/pypa/manylinux_2_28_aarch64:2023-11-13-f6b0c51
CIBW_MUSLLINUX_AARCH64_IMAGE: musllinux_1_1
CIBW_BEFORE_BUILD: rustup show
CIBW_BEFORE_BUILD_LINUX: >
Expand Down

0 comments on commit 7295384

Please sign in to comment.