🎨 update build

This commit is contained in:
luoshuijs 2023-12-28 01:32:17 +08:00 committed by GitHub
parent 6ad481ff6e
commit 48d0a34598
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,23 +98,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ['3.10', '3.11', '3.12']
target: ['aarch64'] target: ['aarch64']
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Build wheels - name: Build wheels
uses: PyO3/maturin-action@v1 uses: PyO3/maturin-action@v1
with: with:
rust-toolchain: nightly rust-toolchain: nightly
target: ${{ matrix.target }} target: ${{ matrix.target }}
manylinux: auto manylinux: auto
args: --release --out dist --interpreter ${{ matrix.python-version }} args: --release --out dist --interpreter 3.8 3.9 3.10 3.11 3.12
- name: Upload wheels - name: Upload wheels
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with: