Skip to content

Commit

Permalink
Remove macOS x86_64 wheels, keep universal2 (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart authored May 2, 2024
1 parent 4f5b55d commit 976ac4b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,14 @@ jobs:
python-version: '3.11'
architecture: x64
- uses: dtolnay/rust-toolchain@stable
- name: Build wheels - x86_64
uses: PyO3/maturin-action@v1
with:
target: x86_64
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9
- name: Test built wheel - x86_64
run: |
pip install pycrdt --no-index --find-links dist --force-reinstall
pip install pytest "y-py>=0.7.0a1,<0.8" "pydantic>=2.5.2,<3" "objsize"
pytest
- name: Build wheels - universal2
uses: PyO3/maturin-action@v1
with:
args: --release --target universal2-apple-darwin --out dist -i 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9
- name: Test built wheel - universal2
run: |
pip install pycrdt --no-index --find-links dist --force-reinstall
pip install pytest "y-py>=0.7.0a1,<0.8" "pydantic>=2.5.2,<3" "objsize"
pytest
- name: Upload wheels
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 976ac4b

Please sign in to comment.