diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 9d8d94a..86b2799 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -35,22 +35,22 @@ jobs: - name: Checkout ttcrpy uses: actions/checkout@v4 - - name: Setup Python - uses: actions/setup-python@v4 - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install twine - - - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.16.2 + - name: Set up QEMU + if: runner.os == 'Linux' + uses: docker/setup-qemu-action@v3 + with: + platforms: all - name: Build wheels - run: python -m cibuildwheel --output-dir wheelhouse + uses: pypa/cibuildwheel@v2.22.0 + env: + # configure cibuildwheel to build native archs ('auto'), and some + # emulated ones + CIBW_ARCHS_LINUX: auto aarch64 - uses: actions/upload-artifact@v4 with: + name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} path: ./wheelhouse/*.whl build_sdist: