Try a CI build with 3.12 on macOS. #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS Wheels | ||
on: [push, pull_request] | ||
jobs: | ||
build_wheels: | ||
name: Build wheels on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-11] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
name: Install Python | ||
with: | ||
python-version: [ | ||
Check failure on line 19 in .github/workflows/macos.yml GitHub Actions / macOS WheelsInvalid workflow file
|
||
"3.12-dev", | ||
] | ||
os: [ | ||
macOS-latest, | ||
] | ||
- name: Install cibuildwheel | ||
run: | | ||
python -m pip install cibuildwheel | ||
- name: Build wheels | ||
run: | | ||
python3.12 -m cibuildwheel --output-dir wheelhouse | ||
env: | ||
# Skip Python 2.7, 3.5, and PyPy | ||
CIBW_BUILD: cp312-* | ||
CIBW_ARCHS_MACOS: "x86_64 arm64 universal2" | ||
CIBW_BEFORE_BUILD: | | ||
pip install cython==3.0.0 | ||
CIBW_TEST_COMMAND: python -m cypari.test | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
path: ./wheelhouse/*.whl |