Skip to content

Commit

Permalink
update cibw (#359)
Browse files Browse the repository at this point in the history
* docs building correctly again

* drop beta announcement

* cleaning up docs a bit

* i think this is where it was at...

* bump beta in readme announcement

* update action

* pssssst. it's a secret

* separate upload docs step

* setps taken

* want --warningiserror

* need requirements for notebook

* no need to run linter here

* does this default thing work?

* alas, chatgpt led me astray

* gimme an artifact to check

* bump to actions/[email protected]

* slightly better names

* artifacts need names now

* set python version for sdist

* try this one

* all unique names

* try cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}

* try merge action

* try combining sdist and wheels into single result

* upload should work

* bump to pypa/[email protected]

* try pypa/[email protected]

* Revert "try pypa/[email protected]"

This reverts commit fa8f7c9.

* SDist doesn't need a strategy matrix

* shorten names for cibw

* bump actions/[email protected]

* bump pypa/[email protected]

* .

* shouldn't need CIBW_SKIP

* keep intermediate results for comparison for now

* see if that gets us building the correct subset

* formatting

* split up musllinux because it currently takes 20 minutes

* can still include cp36-manylinux_aarch64

* delete-merged

* test dropping CIBW_ARCHS_MACOS
  • Loading branch information
ajfriend authored Apr 15, 2024
1 parent b0fe567 commit cd59584
Showing 1 changed file with 35 additions and 13 deletions.
48 changes: 35 additions & 13 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,52 @@ jobs:
path: ./dist

make_wheels:
name: 'cibuildwheel: ${{ matrix.name }}'
name: 'cibw: ${{ matrix.name }}'
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: macos-latest
build: 'cp*-macosx*'
name: macOS
- os: macos-13
build: 'cp*-macosx_x86_64'
name: macOS13
- os: macos-14
build: 'cp*-macosx_arm64'
name: macOS14

- os: windows-latest
build: 'cp3*-win_amd64'
name: Windows 64-bit

- os: ubuntu-22.04
build: 'cp*-manylinux_x86_64'
name: Linux Intel glibc 64-bit

- os: ubuntu-22.04
build: 'cp36-musllinux_x86_64'
name: Linux Intel musl 64-bit 3.6
- os: ubuntu-22.04
build: 'cp37-musllinux_x86_64'
name: Linux Intel musl 64-bit 3.7
- os: ubuntu-22.04
build: 'cp38-musllinux_x86_64'
name: Linux Intel musl 64-bit 3.8
- os: ubuntu-22.04
build: 'cp39-musllinux_x86_64'
name: Linux Intel musl 64-bit 3.9
- os: ubuntu-22.04
build: 'cp*-musllinux_x86_64'
name: Linux Intel musl 64-bit
build: 'cp310-musllinux_x86_64'
name: Linux Intel musl 64-bit 3.10
- os: ubuntu-22.04
build: 'cp311-musllinux_x86_64'
name: Linux Intel musl 64-bit 3.11
- os: ubuntu-22.04
build: 'cp312-musllinux_x86_64'
name: Linux Intel musl 64-bit 3.12

- os: ubuntu-22.04
build: 'cp36-manylinux_aarch64'
name: Linux Aarch64 3.6
- os: ubuntu-22.04
build: 'cp37-manylinux_aarch64'
name: Linux Aarch64 3.7
Expand All @@ -97,8 +125,6 @@ jobs:
with:
submodules: recursive

## Setup Env

- uses: ilammy/[email protected]
if: runner.os == 'Windows'

Expand All @@ -115,16 +141,12 @@ jobs:
with:
platforms: aarch64

## Build

- uses: pypa/[email protected]
- uses: pypa/[email protected]
env:
CIBW_TEST_REQUIRES: pytest numpy
CIBW_TEST_COMMAND: pytest {project}/tests
CIBW_ARCHS_LINUX: auto aarch64
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_BUILD: ${{ matrix.build }}
CIBW_SKIP: ${{ matrix.skip }}

- name: Check with Twine
run: |
Expand Down

0 comments on commit cd59584

Please sign in to comment.