File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -44,23 +44,25 @@ jobs:
44
44
runs-on : ${{ matrix.os }}
45
45
strategy :
46
46
matrix :
47
- os : [ubuntu-20.04, macos-11] # at some point get this to work on windows-2019
47
+ # macos-13 is an intel runner, higher macos's are apple silicon
48
+ # At some point, maybe get this to work on windows-latest
49
+ os : [ubuntu-latest, macos-13, macos-latest]
48
50
49
51
steps :
50
- - uses : actions/checkout@v3
52
+ - uses : actions/checkout@v4
51
53
with :
52
54
submodules : true
53
55
54
56
- name : Build wheels
55
57
uses : pypa/cibuildwheel@v2.22.0
56
58
env :
57
- CIBW_ARCHS_MACOS : x86_64 arm64
58
- CIBW_ARCHS_LINUX : x86_64 # remove this later so we build for all linux archs
59
- CIBW_PROJECT_REQUIRES_PYTHON : " >=3.8"
59
+ CIBW_ARCHS_LINUX : x86_64 aarch64
60
+ CIBW_PROJECT_REQUIRES_PYTHON : " >=3.9"
60
61
CIBW_SKIP : pp*
61
62
62
63
- uses : actions/upload-artifact@v4
63
64
with :
65
+ name : cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
64
66
path : ./wheelhouse/*.whl
65
67
66
68
build_sdist :
76
78
77
79
- uses : actions/upload-artifact@v4
78
80
with :
81
+ name : cibw-sdist
79
82
path : dist/*.tar.gz
80
83
81
84
upload_pypi :
88
91
steps :
89
92
- uses : actions/download-artifact@v4
90
93
with :
91
- # unpacks default artifact into dist/
92
- # if `name: artifact` is omitted, the action will create extra parent dir
93
- name : artifact
94
+ pattern : cibw-*
94
95
path : dist
96
+ merge-multiple : true
95
97
96
98
- uses : pypa/gh-action-pypi-publish@v1.12.2
97
99
with :
You can’t perform that action at this time.
0 commit comments