Skip to content

Commit

Permalink
ci: split qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
markokr committed Aug 25, 2023
1 parent 39d3b3f commit 4deaf6e
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,26 +158,25 @@ jobs:
rm -rf data log /tmp/.s.PGSQL*
cibuildwheel:
name: "Wheels: ${{matrix.sys.name}}"
name: "Wheels: ${{matrix.sys.name}} [${{matrix.sys.archs}}]"
runs-on: ${{matrix.sys.os}}
strategy:
matrix:
sys:
- {os: "ubuntu-latest", name: "Linux"}
- {os: "macos-latest", name: "MacOS"}
- {os: "windows-latest", name: "Windows"}
- {os: "ubuntu-latest", name: "Linux", archs: "auto", qemu: false}
- {os: "ubuntu-latest", name: "Linux", archs: "aarch64", qemu: true}
- {os: "macos-latest", name: "MacOS", archs: "x86_64 arm64 universal2", qemu: false}
- {os: "windows-latest", name: "Windows", archs: "auto", qemu: false}
steps:
- uses: actions/checkout@v3
- name: "Set up QEMU"
if: runner.os == 'Linux'
if: ${{matrix.sys.qemu}}
uses: docker/setup-qemu-action@v2
with:
platforms: all
- uses: pypa/[email protected]
env:
CIBW_ARCHS_MACOS: "x86_64 arm64 universal2"
CIBW_ARCHS_WINDOWS: "auto"
CIBW_ARCHS_LINUX: "auto aarch64"
CIBW_ARCHS: "${{matrix.sys.archs}}"
# cp38: cp37-macos does not support universal2/arm64
CIBW_BUILD: "cp38-* pp*-manylinux_x86_64"
CIBW_SKIP: "pp37-*"
Expand Down

0 comments on commit 4deaf6e

Please sign in to comment.