diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index f327078..e9ce1ae 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -110,102 +110,12 @@ jobs: with: path: wheelhouse/*.whl - build_wheels_manylinux_arm64_python_3_8: - name: Build manylinux wheels python3.8 (arm64) - runs-on: ubuntu-24.04 - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - # Register QEMU for cross-architecture emulation - - name: Set up QEMU for cross-compilation - uses: docker/setup-qemu-action@v2 - with: - platforms: arm64 - - - name: Install cibuildwheel - run: | - python -m pip install --upgrade pip - pip install cibuildwheel - - - name: Build wheels with cibuildwheel - env: - CIBW_PLATFORM: "linux" - CIBW_BUILD: "cp38-*" - CIBW_ARCHS_LINUX: "aarch64" - run: | - cibuildwheel --output-dir wheelhouse - - - name: upload wheels - uses: actions/upload-artifact@v3 - with: - path: wheelhouse/*.whl - - build_wheels_manylinux_arm64_python_3_9: - name: Build manylinux wheels python3.9 (arm64) - runs-on: ubuntu-24.04 - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - # Register QEMU for cross-architecture emulation - - name: Set up QEMU for cross-compilation - uses: docker/setup-qemu-action@v2 - with: - platforms: arm64 - - - name: Install cibuildwheel - run: | - python -m pip install --upgrade pip - pip install cibuildwheel - - - name: Build wheels with cibuildwheel - env: - CIBW_PLATFORM: "linux" - CIBW_BUILD: "cp39-*" - CIBW_ARCHS_LINUX: "aarch64" - run: | - cibuildwheel --output-dir wheelhouse - - - name: upload wheels - uses: actions/upload-artifact@v3 - with: - path: wheelhouse/*.whl - - build_wheels_manylinux_arm64_python_3_10: - name: Build manylinux wheels python3.10 (arm64) - runs-on: ubuntu-24.04 - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - # Register QEMU for cross-architecture emulation - - name: Set up QEMU for cross-compilation - uses: docker/setup-qemu-action@v2 - with: - platforms: arm64 - - - name: Install cibuildwheel - run: | - python -m pip install --upgrade pip - pip install cibuildwheel - - - name: Build wheels with cibuildwheel - env: - CIBW_PLATFORM: "linux" - CIBW_BUILD: "cp310-*" - CIBW_ARCHS_LINUX: "aarch64" - run: | - cibuildwheel --output-dir wheelhouse - - - name: upload wheels - uses: actions/upload-artifact@v3 - with: - path: wheelhouse/*.whl - - build_wheels_manylinux_arm64_python_3_11: - name: Build manylinux wheels python3.11 (arm64) + build_wheels_manylinux_arm64: + name: Build manylinux wheels (arm64) runs-on: ubuntu-24.04 + strategy: + matrix: + python-version: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -224,7 +134,7 @@ jobs: - name: Build wheels with cibuildwheel env: CIBW_PLATFORM: "linux" - CIBW_BUILD: "cp311-*" + CIBW_BUILD: ${{ matrix.python-version }} CIBW_ARCHS_LINUX: "aarch64" run: | cibuildwheel --output-dir wheelhouse @@ -233,34 +143,3 @@ jobs: uses: actions/upload-artifact@v3 with: path: wheelhouse/*.whl - - build_wheels_manylinux_arm64_python_3_12: - name: Build manylinux wheels python3.12 (arm64) - runs-on: ubuntu-24.04 - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - # Register QEMU for cross-architecture emulation - - name: Set up QEMU for cross-compilation - uses: docker/setup-qemu-action@v2 - with: - platforms: arm64 - - - name: Install cibuildwheel - run: | - python -m pip install --upgrade pip - pip install cibuildwheel - - - name: Build wheels with cibuildwheel - env: - CIBW_PLATFORM: "linux" - CIBW_BUILD: "cp312-*" - CIBW_ARCHS_LINUX: "aarch64" - run: | - cibuildwheel --output-dir wheelhouse - - - name: upload wheels - uses: actions/upload-artifact@v3 - with: - path: wheelhouse/*.whl \ No newline at end of file