Skip to content

Commit

Permalink
CI: Correct architectures, use QEMU
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Apr 6, 2023
1 parent 01ae10f commit b6f69ba
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade build twine
- name: Build SDist
run: python -m build --sdist

Expand All @@ -34,6 +35,12 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v2
with:
platforms: all

- uses: actions/setup-python@v4
with:
python-version: '3.11'
Expand All @@ -44,9 +51,9 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ARCHS_LINUX: x86_64,i686,aarch64,ppc64le,s390x
CIBW_ARCHS_WINDOWS: x86_64,arm64,universal2
CIBW_ARCHS_MACOS: AMD64,x86,ARM64
CIBW_ARCHS_LINUX: x86_64 i686 aarch64 ppc64le s390x
CIBW_ARCHS_WINDOWS: AMD64 x86 ARM64
CIBW_ARCHS_MACOS: x86_64 arm64 universal2

- name: Inspect
run: ls wheelhouse/
Expand Down

0 comments on commit b6f69ba

Please sign in to comment.