Skip to content

Commit

Permalink
Add CI job to test cross building for Linux/AArch64.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold committed Mar 18, 2022
1 parent 833896d commit 8754a6e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,19 @@ jobs:
CARGO_BUILD_TARGET: ${{ matrix.platform.rust-target }}
RUST_BACKTRACE: 1

cross-build:
runs-on: ubuntu-latest
needs: [lint, check-msrv, examples]
steps:
- uses: actions/checkout@v2
- uses: messense/maturin-action@v1
env:
PYO3_CROSS_LIB_DIR: /opt/python/cp39-cp39
with:
target: aarch64
manylinux: auto
args: --manifest-path examples/simple/Cargo.toml --interpreter python3.9 --no-sdist

check-msrv:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 8754a6e

Please sign in to comment.