From 5ae12f2490aaab1f93b8188af8e32a6d32bcf55b Mon Sep 17 00:00:00 2001 From: luoshuijs Date: Thu, 28 Dec 2023 09:46:28 +0800 Subject: [PATCH] :wrench: Add support for aarch64 linux systems --- .github/workflows/build.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 92a0eeb..85848b3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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