Skip to content

Commit

Permalink
Use QEMU to build for aarch64 (#9)
Browse files Browse the repository at this point in the history
* Use QEMU to build for aarch64

* Update to 2.1.12rc0 for now

* use CIBW_ARCHS_LINUX

* get ready for 2.1.12
  • Loading branch information
wbarnha authored Dec 12, 2022
1 parent e2250c6 commit a622250
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build-and-upload-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,18 @@ jobs:
git submodule sync --recursive
git submodule update --init --force --recursive --depth=1
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v2
with:
platforms: all

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_MANYLINUX_X86_64_IMAGE: 'manylinux2014'
CIBW_ARCHS: auto64
CIBW_ARCHS_LINUX: auto64 aarch64
CIBW_BUILD: 'cp3*'
CIBW_SKIP: '*-musllinux_*'
CIBW_BEFORE_BUILD_WINDOWS: make pip
Expand Down Expand Up @@ -62,4 +69,4 @@ jobs:
- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion src/cchardet/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.1.11'
__version__ = '2.1.12'

0 comments on commit a622250

Please sign in to comment.