Skip to content

Commit

Permalink
Fix wheel building
Browse files Browse the repository at this point in the history
* Fix mutability bug in upload-artifact

* Workaround for universal2, python3.13 build bug: build for arm64
  instead
  • Loading branch information
taobrienlbl committed Sep 12, 2024
1 parent ec61aec commit db1bb51
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ jobs:


build_arch_wheels:
name: ${{ matrix.python }} on ${{ matrix.arch }}
name: ${{ matrix.python }}-${{ matrix.arch }}
runs-on: ubuntu-24.04
strategy:
matrix:
python: [39, 310, 311, 312]
python: [39, 310, 311, 312, 313]
arch: [aarch64]
steps:

Expand Down Expand Up @@ -94,6 +94,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: arch-wheels-${{ matrix.python }}-${{ matrix.arch }}
path: wheelhouse/*.whl

build_wheels:
Expand All @@ -102,12 +103,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-2019, macos-latest, ubuntu-latest]
os: [windows-latest, macos-latest, ubuntu-latest]
arch: [auto64]

include:
- os: macos-latest
arch: universal2
arch: arm64

steps:
- uses: actions/checkout@v4
Expand All @@ -132,6 +133,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-${{ matrix.arch }}
path: wheelhouse/*.whl

upload_all:
Expand All @@ -142,7 +144,8 @@ jobs:
steps:
- uses: actions/[email protected]
with:
name: artifact
name: artifact-*
merge-multiple: true
path: dist

- name: List all files
Expand Down

0 comments on commit db1bb51

Please sign in to comment.