Add aarch64-apple-darwin test to CI

This commit is contained in:
messense 2022-03-02 11:45:17 +08:00
parent 25cb8acf03
commit 4b65ad8d50
No known key found for this signature in database
GPG Key ID: BB41A8A2C716CCA9
1 changed files with 7 additions and 0 deletions

View File

@ -244,6 +244,13 @@ jobs:
manylinux: auto manylinux: auto
args: --release -i python3.9 --no-sdist -m examples/maturin-starter/Cargo.toml args: --release -i python3.9 --no-sdist -m examples/maturin-starter/Cargo.toml
- name: Test cross compilation
if: ${{ matrix.platform.os == 'macos-latest' && matrix.python-version == '3.9' }}
uses: messense/maturin-action@v1
with:
target: aarch64-apple-darwin
args: --release -i python3.9 --no-sdist -m examples/maturin-starter/Cargo.toml
env: env:
CARGO_TERM_VERBOSE: true CARGO_TERM_VERBOSE: true
CARGO_BUILD_TARGET: ${{ matrix.platform.rust-target }} CARGO_BUILD_TARGET: ${{ matrix.platform.rust-target }}