@@ -7,8 +7,8 @@ concurrency:
7
7
cancel-in-progress : true
8
8
9
9
env :
10
- # Don't build python 2.7, pypy, or 32-bit wheels or Mac arm64 on Py3.8
11
- CIBW_SKIP : " cp36-* cp37-* cp311-manylinux* cp312-manylinux* cp38-macosx_arm64 pp* *-musllinux_* *-manylinux_i686 *-win32"
10
+ # builds to skip (e.g. skip 32-bit windows)
11
+ CIBW_SKIP : " cp38-macosx_arm64 *-manylinux_i686 *-musllinux_* *-win32"
12
12
13
13
# Need to do some setup before repairing the wheel on linux...
14
14
CIBW_REPAIR_WHEEL_COMMAND_LINUX : bash scripts/github-actions/repair_command_linux.sh
27
27
CIBW_TEST_COMMAND : pytest {project}/scripts/github-actions/simple_test.py
28
28
29
29
# We can't currently test Mac arm64 builds on x64
30
- CIBW_TEST_SKIP : " *_arm64 *_universal2:arm64 "
30
+ CIBW_TEST_SKIP : " *_arm64"
31
31
32
32
33
33
# Use bash by default for the run command
42
42
strategy :
43
43
fail-fast : false
44
44
matrix :
45
- # For Windows, we have to use visual studio 2017, which is on windows-2016
46
- os : [ubuntu-20.04, macos-latest, windows-2019]
45
+ os : [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-13, macos-14]
47
46
48
47
steps :
49
48
- uses : actions/checkout@v4
@@ -52,20 +51,11 @@ jobs:
52
51
# give it a correct version even on non-tag push.
53
52
fetch-depth : 0
54
53
55
- - uses : actions/setup-python@v5
56
- name : Install Python
57
- with :
58
- python-version : ' 3.8'
59
- cache : ' pip' # caching pip dependencies
60
-
61
- - name : Install cibuildwheel
62
- run : pip install cibuildwheel==2.16.2
63
-
64
54
- name : Install dependencies
65
55
run : . ./scripts/github-actions/install.sh
66
56
67
57
- name : Build wheels
68
- run : cibuildwheel --output-dir wheelhouse
58
+ uses : pypa/ cibuildwheel@v3.0.0
69
59
70
60
- uses : actions/upload-artifact@v4
71
61
with :
81
71
steps :
82
72
- uses : actions/download-artifact@v4
83
73
with :
84
- name : artifact
74
+ # unpacks all CIBW artifacts into dist/
75
+ pattern : cibw-*
85
76
path : dist
77
+ merge-multiple : true
86
78
87
79
- uses : pypa/gh-action-pypi-publish@master
88
80
with :
0 commit comments