Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): add arm linux & mac wheels #34

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 38 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,26 @@ on:

jobs:
manylinux2014:
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux2014_x86_64
runs-on: ${{ matrix.runner }}
container: ${{ matrix.container }}
strategy:
matrix:
name: [ubuntu-latest, ubuntu-arm-latest]
include:
- name: ubuntu-latest
python: 3.11
os: ubuntu-latest
release-os: linux
release-arch: amd64
container: quay.io/pypa/manylinux2014_x86_64
runner: [ubuntu-latest]
- name: ubuntu-arm-latest
python: 3.11
os: ubuntu-latest
release-os: linux
release-arch: aarch64
container: quay.io/pypa/manylinux2014_aarch64
runner: [self-hosted, linux, ARM64]
steps:
- uses: actions/checkout@v3
- name: Install stable rust
Expand All @@ -30,13 +48,29 @@ jobs:
path: target/wheels/*.whl

osx:
runs-on: macos-latest
runs-on: ${{ matrix.runner }}
strategy:
matrix:
name: [macOS-latest, macOS-arm-latest]
include:
- name: macOS-latest
python: 3.11
os: macOS-latest
release-os: darwin
release-arch: x86_64
runner: [macOS-latest]
- name: macOS-arm-latest
python: 3.11
os: macOS-latest
release-os: darwin
release-arch: aarch64
runner: [self-hosted, macOS, ARM64]
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ matrix.python }}
- name: Install maturin & uniffi-bindgen
run: |
pip install maturin uniffi-bindgen
Expand Down