Skip to content

Commit

Permalink
Run each arch in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreinking committed Oct 7, 2022
1 parent 4f1310e commit a5101ca
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:

runs-on: ubuntu-latest

strategy:
matrix:
arch: [ x86_64, i686, aarch64 ]

steps:
- uses: actions/checkout@v3

Expand All @@ -33,12 +37,12 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: "386,arm64"
platforms: all

- name: Build wheels
uses: pypa/cibuildwheel@v2.10.2
env:
CIBW_ARCHS_LINUX: "x86_64 i686 aarch64"
CIBW_ARCHS_LINUX: "${{ matrix.arch }}"
CIBW_BUILD: "cp38-manylinux* cp39-manylinux* cp310-manylinux*"
CIBW_MANYLINUX_X86_64_IMAGE: ghcr.io/halide/manylinux2014_x86_64-llvm:15.0.1
CIBW_MANYLINUX_I686_IMAGE: ghcr.io/halide/manylinux2014_i686-llvm:15.0.1
Expand Down

0 comments on commit a5101ca

Please sign in to comment.