🔧 Add support for aarch64 linux systems

This commit is contained in:
luoshuijs 2023-12-28 09:46:28 +08:00 committed by GitHub
parent 95e17027f1
commit 5ae12f2490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,9 +94,31 @@ jobs:
name: wheels
path: dist
linux-cross:
runs-on: ubuntu-latest
strategy:
matrix:
target: ['aarch64']
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
rust-toolchain: nightly
target: ${{ matrix.target }}
manylinux: auto
args: --release --out dist --interpreter 3.8 3.9 3.10 3.11 3.12
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
releases:
runs-on: ubuntu-latest
needs: [linux, windows , macos]
needs: [linux, windows , macos , linux-cross]
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4