Skip to content
Open
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
31 changes: 30 additions & 1 deletion .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,35 @@ jobs:
name: wheels_arm64
path: ./wheelhouse/*.whl

build_wheels_riscv64:
name: Build riscv64 wheels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/riscv64

- name: Build wheels
uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_SKIP: "*musllinux* pp*"
CIBW_REPAIR_WHEEL_COMMAND: ""
CIBW_ARCHS: "riscv64"
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-*"
with:
output-dir: wheelhouse

- name: Upload wheels as artifacts
uses: actions/upload-artifact@v4
with:
name: wheels_riscv64
path: ./wheelhouse/*.whl

build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
Expand Down Expand Up @@ -129,7 +158,7 @@ jobs:

release:
name: Release
needs: [build_wheels, build_wheels_arm64, build_sdist]
needs: [build_wheels, build_wheels_arm64, build_wheels_riscv64, build_sdist]
runs-on: ubuntu-latest

steps:
Expand Down