Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/build-voyager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,24 @@ jobs:
build_wheels:
needs: [setup]
if: needs.setup.outputs.versions != '[]'
name: Build voyager ${{ matrix.version }} ${{ matrix.python }}-manylinux_riscv64
name: Build voyager ${{ matrix.version }} ${{ matrix.tag }}-manylinux_riscv64
runs-on: ubuntu-24.04-riscv
strategy:
fail-fast: false
matrix:
version: ${{ fromJSON(needs.setup.outputs.versions) }}
python: ["cp312", "cp313", "cp314", "cp314t"]
include:
# The wheel is cp312-abi3 whichever interpreter builds it, and building it
# on cp314 fails cibuildwheel's abi3audit (ABI violations from symbols the
# 3.14 headers expose), so build it once on cp312 and let the newer
# interpreters re-test that one wheel via find_compatible_wheel.
- tag: cp312-abi3
build: >-
cp312-manylinux_riscv64 cp313-manylinux_riscv64
cp314-manylinux_riscv64
# Free-threaded builds get a per-interpreter wheel.
- tag: cp314t
build: cp314t-manylinux_riscv64

env:
VOYAGER_VERSION: ${{ matrix.version }}
Expand All @@ -69,8 +80,9 @@ jobs:
with:
package-dir: python
output-dir: wheelhouse
only: ${{ matrix.python }}-manylinux_riscv64
env:
CIBW_ARCHS: riscv64
CIBW_BUILD: ${{ matrix.build }}
CIBW_ENVIRONMENT: >-
PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/
PIP_ONLY_BINARY=numpy
Expand All @@ -80,7 +92,7 @@ jobs:

- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: voyager-${{ env.VOYAGER_VERSION }}-${{ matrix.python }}-manylinux_riscv64
name: voyager-${{ env.VOYAGER_VERSION }}-${{ matrix.tag }}-manylinux_riscv64
path: wheelhouse/*.whl
if-no-files-found: error

Expand Down
3 changes: 3 additions & 0 deletions docs/packages/voyager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ versions:
sha256: d359885b4f0dd28228e38f8b00096523fc6ae7fe07800910a0da6a8effa993c1
- filename: voyager-2.1.0-cp314-cp314t-manylinux_2_39_riscv64.whl
sha256: b10022bd3be34fa21f3e0180bc25b0ea455e1f0101b79a3490040257e4311aba
- version: 2.2.0
- version: 2.2.1
- version: 2.2.2
Loading