Signed-off-by: Bruno Verachten <gounthar@gmail.com>
# this is only meaningful on linux. windows and macos ignore exclude all but one arch
- "aarch64"
- "x86_64"
+ - "riscv64"
include:
# create pure python build
linux_archs: "aarch64"
- os: "ubuntu-22.04-arm"
linux_archs: "x86_64"
+ - os: "windows-2022"
+ linux_archs: "riscv64"
+ - os: "windows-11-arm"
+ linux_archs: "riscv64"
+ - os: "macos-15"
+ linux_archs: "riscv64"
+ - os: "ubuntu-22.04-arm"
+ linux_archs: "riscv64"
fail-fast: false
steps:
- uses: actions/checkout@v4
+ - name: Set up QEMU
+ if: matrix.linux_archs == 'riscv64'
+ uses: docker/setup-qemu-action@v3
+ with:
+ platforms: riscv64
+
- name: Remove tag-build from pyproject.toml
# sqlalchemy has `tag-build` set to `dev` in pyproject.toml. It needs to be removed before creating the wheel
# otherwise it gets tagged with `dev0`
# On an Linux Intel runner with qemu installed, build Intel and ARM wheels
# NOTE: this is overridden in the pipeline using the CIBW_ARCHS_LINUX env variable to speed up the build
[tool.cibuildwheel.linux]
-archs = ["x86_64", "aarch64"]
+archs = ["x86_64", "aarch64", "riscv64"]