diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml index e84e6d9bb..2acfe9c60 100644 --- a/.github/workflows/kit.yml +++ b/.github/workflows/kit.yml @@ -36,7 +36,7 @@ env: PIP_DISABLE_PIP_VERSION_CHECK: 1 # PYVERSIONS: changing the list of versions will change the number of # expected distributions. This must match the same number in publish.yml. - EXPECTED: 88 + EXPECTED: 104 permissions: contents: read @@ -73,7 +73,7 @@ jobs: # # # For each OS, what arch to use with cibuildwheel: # os_archs = { - # "ubuntu": ["x86_64", "i686", "aarch64"], + # "ubuntu": ["x86_64", "i686", "aarch64", "riscv64"], # "macos": ["arm64", "x86_64"], # "windows": ["x86", "AMD64", "ARM64"], # } @@ -128,6 +128,12 @@ jobs: - {"os": "ubuntu", "py": "cp312", "arch": "aarch64", "os-version": "22.04-arm"} - {"os": "ubuntu", "py": "cp313", "arch": "aarch64", "os-version": "22.04-arm"} - {"os": "ubuntu", "py": "cp314", "arch": "aarch64", "os-version": "22.04-arm"} + - {"os": "ubuntu", "py": "cp39", "arch": "riscv64"} + - {"os": "ubuntu", "py": "cp310", "arch": "riscv64"} + - {"os": "ubuntu", "py": "cp311", "arch": "riscv64"} + - {"os": "ubuntu", "py": "cp312", "arch": "riscv64"} + - {"os": "ubuntu", "py": "cp313", "arch": "riscv64"} + - {"os": "ubuntu", "py": "cp314", "arch": "riscv64"} - {"os": "macos", "py": "cp39", "arch": "arm64", "os-version": "13"} - {"os": "macos", "py": "cp310", "arch": "arm64", "os-version": "13"} - {"os": "macos", "py": "cp311", "arch": "arm64", "os-version": "13"} @@ -156,7 +162,7 @@ jobs: - {"os": "windows", "py": "cp312", "arch": "ARM64", "os-version": "11-arm"} - {"os": "windows", "py": "cp313", "arch": "ARM64", "os-version": "11-arm"} - {"os": "windows", "py": "cp314", "arch": "ARM64", "os-version": "11-arm"} - # [[[end]]] (sum: 7BoHzaIHKR) + # [[[end]]] (sum: 0tXzcJPEQS) # ^^^^^^^^^^^^^^^ # If a check fails and points to this checksum line, it means you edited # the matrix directly instead of editing the Python code in the comment @@ -193,7 +199,9 @@ jobs: - name: "Install tools" run: | python -m pip install -r requirements/kit.pip - + - name: Set up QEMU + if: ${{ matrix.arch == 'riscv64' }} + uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0 - name: "Build binary wheels" env: CIBW_BUILD: ${{ matrix.py }}*-* diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6b841104c..fc7bd1733 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ defaults: env: # PYVERSIONS: changing the list of versions will change the number of # expected distributions. This must match the same number in kit.yml. - EXPECTED: 88 + EXPECTED: 104 permissions: contents: read