From: Bruno Verachten Date: Wed, 18 Mar 2026 19:49:31 +0000 (+0100) Subject: ci: add riscv64 wheel builds via QEMU (#13183) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11a2e63fa2dd0eaec74a071edc97c25fbdc2a94d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git ci: add riscv64 wheel builds via QEMU (#13183) Signed-off-by: Bruno Verachten --- diff --git a/.github/workflows/create-wheels.yaml b/.github/workflows/create-wheels.yaml index 8c4e053c62..60c407359f 100644 --- a/.github/workflows/create-wheels.yaml +++ b/.github/workflows/create-wheels.yaml @@ -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` diff --git a/pyproject.toml b/pyproject.toml index 022cc67c8f..f5340bb489 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]