diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index d9ee459..59046aa 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -4,11 +4,13 @@ on: [push, pull_request] jobs: build_wheels: - name: Build wheels on ${{ matrix.os }} + name: Build wheels on ${{ matrix.os }} ${{ matrix.cibw_arch }} runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-13, macos-14] + cibw_arch: ["native"] + cibw_build: ["cp39-* cp310-* cp311-*"] steps: - uses: actions/checkout@v4 @@ -21,9 +23,9 @@ jobs: - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse - # to supply options, put them in 'env', like: - # env: - # CIBW_SOME_OPTION: value + env: + CIBW_BEFORE_ALL_LINUX: sudo apt-get install -y clang curl autoconf automake libtool pkg-config + CIBW_BEFORE_ALL_MACOS: brew install curl autoconf automake libtool pkg-config - uses: actions/upload-artifact@v4 with: