Skip to content

Commit

Permalink
Try again with old build wheels
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <adam2392@gmail.com>
  • Loading branch information
adam2392 committed Jan 31, 2024
1 parent bb31b78 commit ed7fca1
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,11 @@ jobs:
os: # see scipy wheels.yml GH actions
- [ubuntu-22.04, manylinux, x86_64]
- [macos-11, macosx, x86_64]
# - [macos-12, macosx_*, arm64]
- [windows-2019, win, AMD64]

python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"]]
# python[0] is used to specify the python versions made by cibuildwheel
python:
[
["cp39", "3.9"],
["cp310", "3.10"],
["cp311", "3.11"],
["cp312", "3.12"],
]

env:
IS_32_BIT: ${{ matrix.os[2] == 'x86' }}
Expand Down Expand Up @@ -92,12 +87,6 @@ jobs:
CIBW_ARCHS: ${{ matrix.os[2] }}
CIBW_ENVIRONMENT_PASS_LINUX: RUNNER_OS

CIBW_ENVIRONMENT_WINDOWS: >
PKG_CONFIG_PATH=c:/opt/64/lib/pkgconfig
PIP_PRE=1
PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
PIP_NO_BUILD_ISOLATION=false
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/
Expand All @@ -111,14 +100,8 @@ jobs:
# Ensure that a wheel builder finishes even if another fails
fail-fast: false
matrix:
python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"]]
# python[0] is used to specify the python versions made by cibuildwheel
python:
[
["cp39", "3.9"],
["cp310", "3.10"],
["cp311", "3.11"],
["cp312", "3.12"],
]

steps:
- name: Checkout code
Expand All @@ -137,7 +120,7 @@ jobs:
python spin setup-submodule
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.3
uses: pypa/cibuildwheel@v2.16.4
env:
CIBW_BUILD: ${{ matrix.python[0] }}-macosx_arm64
CIBW_ARCHS_MACOS: arm64
Expand Down

0 comments on commit ed7fca1

Please sign in to comment.