Skip to content

Commit

Permalink
CI: prevent macos_older_pythons from building 3.12 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDunfield committed Aug 14, 2023
1 parent 35d04d8 commit 6c20e8d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- name: Build wheels
uses: pypa/[email protected]
env:
# Skip Python 3.12 and PyPy
CIBW_SKIP: cp312-* pp*
# Skip Python 3.12 for now
CIBW_BUILD: cp310-* cp311-*
CIBW_ARCHS_MACOS: x86_64 universal2
CIBW_BEFORE_BUILD: >
pip install cython FXrays low_index sphinx sphinx_rtd_theme &&
Expand Down
21 changes: 5 additions & 16 deletions .github/workflows/macos_older_pythons.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: macOS Older Python Wheels
name: macOS Wheels

on: [push, pull_request]

Expand All @@ -13,22 +13,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3
name: Install Python
with:
python-version: '3.9'

- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel
- name: Build wheels
run: |
python -m cibuildwheel --output-dir wheelhouse
uses: pypa/[email protected]
env:
# Skip Python 2.7, 3.5, 3.11, 32 bit Linux, and PyPy
CIBW_SKIP: cp27-* cp35-* cp38-* cp39-* cp310-* cp311-* pp*
CIBW_ARCHS_MACOS: x86_64
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-*
CIBW_ARCHS_MACOS: x86_64 universal2
CIBW_BEFORE_BUILD: >
pip install cython FXrays low_index sphinx sphinx_rtd_theme &&
pip install --pre --extra-index-url https://test.pypi.org/simple cypari &&
Expand All @@ -45,5 +34,5 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: snappy_macos_older_wheels
name: snappy_macos_wheels
path: ./wheelhouse/*.whl

0 comments on commit 6c20e8d

Please sign in to comment.