Skip to content
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
32 changes: 29 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,26 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.os }}

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v2
with:
platforms: all

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.1
env:
CIBW_ARCHS_LINUX: x86_64
CIBW_ARCHS_LINUX: auto aarch64
CIBW_ARCHS_MACOS: x86_64
CIBW_ARCHS_WINDOWS: AMD64
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8"
Expand All @@ -44,6 +60,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.os }}

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.1
env:
Expand All @@ -55,8 +81,8 @@ jobs:

- name: Fix wheel tags
run: |
pip install wheel==0.40
wheel tags --platform-tag macosx_12_0_arm64 dist/*-macosx*.whl --remove
python3 -m pip install wheel
python3 -m wheel tags --platform-tag macosx_12_0_arm64 dist/*-macosx*.whl --remove

- uses: actions/upload-artifact@v3
with:
Expand Down