Skip to content

Commit

Permalink
split wheel building into more jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Feb 2, 2021
1 parent 47c2d54 commit 6bdacb8
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,33 @@ on:

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
name: Build wheels for ${{ matrix.build }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, macos-latest]
build: [
aarch64-linux,
x86_64-linux,
ppc64le-linux,
s390x-linux
x86_64-macos
]
include:
- build: x86_64-linux
os: ubuntu-18.04
arch: x86_64
- build: aarch64-linux
os: ubuntu-18.04
arch: aarch64
- build: ppc64le-linux
os: ubuntu-18.04
arch: ppc64le
- build: s390x-linux
os: ubuntu-18.04
arch: s390x
- build: x86_64-macos
os: macos-latest
arch: x86_64
fail-fast: false

steps:
Expand Down Expand Up @@ -46,9 +68,7 @@ jobs:
CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"'
CIBW_ENVIRONMENT_MACOS: 'MACOSX_DEPLOYMENT_TARGET=10.11'
CIBW_BUILD_VERBOSITY: 3
CIBW_ARCHS_LINUX: auto aarch64
# TODO: this takes too long to build all...
#CIBW_ARCHS_LINUX: auto aarch64 ppc64le s390x
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
run: |
python -m cibuildwheel --output-dir dist
ls -lR ./dist
Expand Down

0 comments on commit 6bdacb8

Please sign in to comment.