From 8002ce71a80140cbaf0fbaf65174fe686ead0a52 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Tue, 26 Jan 2021 09:34:43 -0500 Subject: [PATCH] Add experimental aarch64 builds --- .github/workflows/publishing.yml | 23 +++++++++++++++++++++-- src/dependency_injector/__init__.py | 2 +- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publishing.yml b/.github/workflows/publishing.yml index 1e3a5a21..f5444859 100644 --- a/.github/workflows/publishing.yml +++ b/.github/workflows/publishing.yml @@ -1,4 +1,4 @@ -name: Publishing +name: Building and publishing on: push: @@ -41,9 +41,28 @@ jobs: with: path: ./wheelhouse/*.whl + build-wheels-linux-custom-archs: + name: Build wheels + runs-on: ubuntu-latest + strategy: + matrix: + arch: [aarch64] + steps: + - uses: actions/checkout@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - uses: actions/setup-python@v2 + with: + python-version: 3.9 + - run: pip install cibuildwheel==1.8.0 + - run: cibuildwheel --archs ${{ matrix.archs }} --output-dir wheelhouse + - uses: actions/upload-artifact@v2 + with: + path: ./wheelhouse/*.whl + upload-to-pypi: name: Publish on PyPI - needs: [build-sdist, build-wheels] + needs: [build-sdist, build-wheels, build-wheels-linux-custom-archs] runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v2 diff --git a/src/dependency_injector/__init__.py b/src/dependency_injector/__init__.py index a04c3f04..0d694744 100644 --- a/src/dependency_injector/__init__.py +++ b/src/dependency_injector/__init__.py @@ -1,6 +1,6 @@ """Top-level package.""" -__version__ = '4.10.3dev4' +__version__ = '4.10.3dev5' """Version number. :type: str