mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-06 17:01:07 -04:00
ci: add riscv64 wheel builds via QEMU (#13183)
Signed-off-by: Bruno Verachten <gounthar@gmail.com>
This commit is contained in:
@@ -35,6 +35,7 @@ jobs:
|
||||
# this is only meaningful on linux. windows and macos ignore exclude all but one arch
|
||||
- "aarch64"
|
||||
- "x86_64"
|
||||
- "riscv64"
|
||||
|
||||
include:
|
||||
# create pure python build
|
||||
@@ -54,12 +55,26 @@ jobs:
|
||||
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`
|
||||
|
||||
+1
-1
@@ -364,4 +364,4 @@ archs = ["arm64"]
|
||||
# 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"]
|
||||
|
||||
Reference in New Issue
Block a user