summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanakarajan Natarajan <68447808+janaknat@users.noreply.github.com>2021-07-18 09:51:08 -0500
committerGitHub <noreply@github.com>2021-07-18 07:51:08 -0700
commit001d85cc7de2c3cabe16d3936fa2bbb4868c69d5 (patch)
tree2c88ed25c4043d8a231dad17d5c87c7de4231916
parent163bc534ac53ca9183d83b6c886ccec3c62828ad (diff)
downloadpython-coveragepy-git-001d85cc7de2c3cabe16d3936fa2bbb4868c69d5.tar.gz
Build aarch64 wheels using cibuildwheel (#1165)
Latest cibuildwheel allows for the building of aarch64 using QEMU.
-rw-r--r--.github/workflows/kit.yml18
1 files changed, 14 insertions, 4 deletions
diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml
index d8baaaee..3ca635ef 100644
--- a/.github/workflows/kit.yml
+++ b/.github/workflows/kit.yml
@@ -23,13 +23,22 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
- os:
- - ubuntu-latest
- - windows-latest
- - macos-latest
+ include:
+ - os: ubuntu-latest
+ cibw_arch: x86_64 i686 aarch64
+ - os: windows-latest
+ cibw_arch: x86 AMD64
+ - os: macos-latest
+ cibw_arch: x86_64
fail-fast: false
steps:
+ - name: Setup QEMU
+ if: matrix.os == 'ubuntu-latest'
+ uses: docker/setup-qemu-action@v1
+ with:
+ platforms: arm64
+
- name: "Check out the repo"
uses: actions/checkout@v2
@@ -46,6 +55,7 @@ jobs:
env:
# Don't build wheels for PyPy.
CIBW_SKIP: pp*
+ CIBW_ARCHS: ${{ matrix.cibw_arch }}
run: |
python -m cibuildwheel --output-dir wheelhouse
ls -al wheelhouse/