diff --git a/.github/workflows/release-wheels.yml b/.github/workflows/release-wheels.yml index a50618d..beb5cea 100644 --- a/.github/workflows/release-wheels.yml +++ b/.github/workflows/release-wheels.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 name: Install Python with: python-version: '3.10' @@ -25,7 +25,7 @@ jobs: python setup.py sdist - name: Store artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: wheels path: ./dist @@ -97,6 +97,20 @@ jobs: platform_id: manylinux_x86_64 manylinux_image: manylinux2014 + # Linux aarch64 + - os: ubuntu-latest + python: 37 + platform_id: manylinux_aarch64 + - os: ubuntu-latest + python: 38 + platform_id: manylinux_aarch64 + - os: ubuntu-latest + python: 39 + platform_id: manylinux_aarch64 + - os: ubuntu-latest + python: 310 + platform_id: manylinux_aarch64 + # MacOS x86_64 - os: macos-latest python: 37 @@ -123,11 +137,17 @@ jobs: platform_id: macosx_arm64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true - - uses: actions/setup-python@v2 + - name: Set up QEMU + if: ${{ matrix.platform_id == 'manylinux_aarch64' }} + uses: docker/setup-qemu-action@v2 + with: + platforms: arm64 + + - uses: actions/setup-python@v4 name: Install Python with: python-version: '3.9' @@ -143,13 +163,14 @@ jobs: CIBW_ARCHS: all CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_image }} CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.manylinux_image }} + CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.manylinux_image }} CIBW_BUILD_VERBOSITY: 1 run: | python --version python -m cibuildwheel --output-dir dist - name: Store artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: wheels path: ./dist @@ -166,12 +187,12 @@ jobs: steps: - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Download the wheels - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: wheels path: dist/ @@ -213,7 +234,7 @@ jobs: steps: - name: Download the wheels - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: wheels path: dist/