Skip to content

Commit 15e7ddc

Browse files
committed
arm
1 parent 0a92570 commit 15e7ddc

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.github/workflows/version.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,29 @@ jobs:
4545
TYPE: ${{ inputs.type }}
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
48+
linux-cross:
49+
name: build linux
50+
runs-on: ubuntu-latest
51+
strategy:
52+
matrix:
53+
target: [aarch64, ppc64]
54+
needs: [bump]
55+
steps:
56+
- uses: actions/checkout@v4
57+
with:
58+
ref: version-${{ needs.bump.outputs.version }}
59+
- uses: PyO3/[email protected]
60+
with:
61+
target: ${{ matrix.target }}
62+
manylinux: auto
63+
command: build
64+
args: --release --sdist -o dist --find-interpreter
65+
- name: Upload wheels
66+
uses: actions/upload-artifact@v4
67+
with:
68+
name: wheels-linux
69+
path: dist
70+
4871
linux:
4972
name: build linux
5073
runs-on: ubuntu-latest
@@ -104,7 +127,7 @@ jobs:
104127
name: Release
105128
runs-on: ubuntu-latest
106129
if: startsWith(github.ref, 'refs/tags/') || (github.event_name == 'workflow_dispatch')
107-
needs: [macos, windows, linux]
130+
needs: [macos, windows, linux, linux-cross]
108131
steps:
109132
- uses: actions/download-artifact@v4
110133
with:

0 commit comments

Comments
 (0)