Skip to content

Commit

Permalink
another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
xtofalex committed Nov 24, 2024
1 parent ed80837 commit 7700d7f
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,25 @@ on:

jobs:
build_wheels:
name: Build Naja wheels on ${{ matrix.os }}
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-13, macos-14]

steps:
- name: Check out Naja
uses: actions/checkout@v4
os: [ubuntu-20.04, windows-2019, macos-13]

- name: Set up Python
uses: actions/setup-python@v5
steps:
- uses: actions/checkout@v4
with:
python-version: "3.x"

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

submodules: recursive

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
# to supply options, put them in 'env', like:
# env:
# CIBW_SOME_OPTION: value
uses: pypa/[email protected]
env:
CIBW_SKIP: pp* *_i686 *-win32
CIBW_ARCHS_MACOS: x86_64 arm64
MACOSX_DEPLOYMENT_TARGET: 11.0

#- uses: actions/upload-artifact@v4
# with:
# name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
# path: ./wheelhouse/*.whl

0 comments on commit 7700d7f

Please sign in to comment.