diff options
| author | Michael Williamson <mike@zwobble.org> | 2022-02-06 10:07:04 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2022-02-06 10:07:04 +0000 |
| commit | c7239e91426ec4644af9452f0598b37f453640c7 (patch) | |
| tree | e139971e8af7e2c2ad64983fa4100916ef7c321c | |
| parent | 3cb7082b42ef8ff4f9278cc271e5cc2cdd3538ad (diff) | |
Support more wheels, including aarch64 on Linux
| -rw-r--r-- | .github/workflows/build.yml | 18 | ||||
| -rw-r--r-- | CHANGELOG.rst | 5 |
2 files changed, 18 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc7dcb0..44d54ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: path: dist/*.tar.gz build_wheels: - name: Build wheels on ${{ matrix.os }} + name: Build wheels on ${{ matrix.os }}, linux-arch=${{ matrix.linux-arch }} runs-on: ${{ matrix.os }} if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/') @@ -61,6 +61,10 @@ jobs: matrix: os: [ubuntu-20.04, macos-10.15] python-version: [3.7] + linux-arch: [auto] + include: + - os: ubuntu-20.04 + linux-arch: aarch64 steps: @@ -71,12 +75,16 @@ jobs: with: python-version: ${{ matrix.python-version }} - - run: python -m pip install cibuildwheel==1.12.0 twine virtualenv + - name: Set up QEMU + if: runner.os == 'Linux' + uses: docker/setup-qemu-action@v1 + with: + platforms: all - - run: | - python3 -m cibuildwheel --output-dir wheelhouse - twine check wheelhouse/*.whl + - name: Build wheels + uses: pypa/cibuildwheel@v2.3.1 env: + CIBW_ARCHS_LINUX: ${{ matrix.linux-arch }} CIBW_BEFORE_BUILD: "pip install cython==0.29.24 && cython {project}/jq.pyx" CIBW_TEST_REQUIRES: "-r test-requirements.txt" CIBW_TEST_COMMAND: "py.test {project}/tests" diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a0dd171..3ffecb1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,11 @@ Changelog ========= +1.2.2 +----- + +* Include support for more wheels, including aarch64 on Linux. + 1.2.1 ----- |
