Skip to content

Commit

Permalink
Bump to cibuildwheel recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhbell committed Dec 11, 2024
1 parent 9d720f8 commit 9095b5d
Showing 1 changed file with 29 additions and 19 deletions.
48 changes: 29 additions & 19 deletions .github/workflows/build_cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,41 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macOS-latest]
os: [ubuntu-24.04, windows-latest, macos-13, macos-14]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: checkout submodules
run: git submodule update --init --recursive

# Used to host cibuildwheel
- uses: actions/setup-python@v2

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.17.0 build

- name: Make sdist
run: python -m build . --sdist --outdir wheelhouse

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
# to supply options, put them in 'env', like:
env:
CIBW_ARCHS: auto64
CIBW_ARCHS_MACOS: universal2
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.15
CIBW_BUILD_VERBOSITY_MACOS: 2
# CIBW_SKIP: "*musllinux*"
uses: pypa/[email protected]
# env:
# CIBW_SOME_OPTION: value
# ...
# with:
# package-dir: .
# output-dir: wheelhouse
# config-file: "{package}/pyproject.toml"

# # Used to host cibuildwheel
# - uses: actions/setup-python@v2

# - name: Install cibuildwheel
# run: python -m pip install cibuildwheel==2.22.0 build

# - name: Make sdist
# run: python -m build . --sdist --outdir wheelhouse

# - name: Build wheels
# run: python -m cibuildwheel --output-dir wheelhouse
# # to supply options, put them in 'env', like:
# env:
# CIBW_ARCHS: auto64
# CIBW_ARCHS_MACOS: universal2
# CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.15
# CIBW_BUILD_VERBOSITY_MACOS: 2
# # CIBW_SKIP: "*musllinux*"

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

0 comments on commit 9095b5d

Please sign in to comment.