Skip to content

Commit

Permalink
chore(ci): add arm linux & mac wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
Arqu committed Oct 4, 2023
1 parent aa14306 commit e58a44f
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,24 @@ on:

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

osx:
runs-on: macos-latest
# runs-on: macos-latest
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner: [macOS-latest, macOS-arm-latest]
include:
- runner: macOS-latest
python: 3.11
os: macOS-latest
release-os: darwin
release-arch: x86_64
runner: [macOS-latest]
- runner: 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

0 comments on commit e58a44f

Please sign in to comment.