commit 9e2839aea8c3345481bd7c6e93f06a40f8498b59 from: Jelmer Vernooij via: GitHub date: Thu Jun 20 12:05:06 2024 UTC Split wheels build, to avoid timeouts (#1337) commit - 42d270c1d62317e61e40300a1d49dc76485cd931 commit + 9e2839aea8c3345481bd7c6e93f06a40f8498b59 blob - 7cf982eca62383b92f7eb95b295c01def27a8708 blob + a56b728b358e5350087128d798f073fd292d6d23 --- .github/workflows/python-distributions.yml +++ .github/workflows/python-distributions.yml @@ -12,6 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] + python-prefix: [pp, cp] fail-fast: true steps: @@ -26,21 +27,18 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel fastimport paramiko urllib3 cibuildwheel setuptools-rust - - name: Install gpg on supported platforms - run: pip install -U gpg - if: "matrix.os != 'windows-latest'" - - name: Run test suite - run: python -m unittest tests.test_suite + pip install setuptools wheel cibuildwheel setuptools-rust - name: Set up QEMU uses: docker/setup-qemu-action@v3 if: "matrix.os == 'ubuntu-latest'" - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse + env: + CIBW_BUILD: "${{ matrix.python-prefix }}*" - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: artifact-${{ matrix.os }} + name: artifact-${{ matrix.os }}-${{ matrix.python-prefix }} path: ./wheelhouse/*.whl build-sdist: